[Cluster-devel] cluster/gfs-kernel/src/gfs ioctl.c

adas at sourceware.org adas at sourceware.org
Thu Jan 24 18:30:18 UTC 2008


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

--- cluster/gfs-kernel/src/gfs/ioctl.c	2007/06/19 14:47:07	1.13.2.4
+++ cluster/gfs-kernel/src/gfs/ioctl.c	2008/01/24 18:30:17	1.13.2.5
@@ -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)




More information about the Cluster-devel mailing list