Skip to contentSkip to conversation

cluster/gfs-kernel/src/gfs ioctl.c

Cluster-devel [email protected] 1 participant 1 message Jan 24, 2008

lore
Share & tools
lore
#0 lore raw

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).

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/ioctl.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.13.2.4&r2=1.13.2.5

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)