cluster/gfs-kernel/src/gfs ioctl.c
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: adas at sourceware.org 2008-01-24 18:30:18
Modified files:
gfs-kernel/src/gfs: ioctl.c
Log message:
fix for bug 430134 - Added functionality to GFS_IOCTL_SUPER to provide metadata of the hidden quota file. This allows the userland tool gfs_quota to perform efficient list operations (bz 430133).
gfs-kernel/src/gfs/ioctl.c +2 -0
@@ -1482,6 +1482,8 @@ error =gi_set_file_flag (ip, &gi); else if (strcmp(arg0, "get_file_meta") == 0) error =gi_get_file_meta (ip, &gi); + else if (strcmp(arg0, "get_file_meta_quota") == 0) + error =gi_get_file_meta (ip->i_sbd->sd_qinode, &gi); else if (strcmp(arg0, "do_file_flush") == 0) error =gi_do_file_flush (ip, &gi); else if (strcmp(arg0, "get_hfile_stat") == 0)