[PVFS2-CVS] commit by robl in pvfs2-1/src/kernel/linux-2.6: super.c
CVS commit program
cvs at parl.clemson.edu
Mon Nov 28 11:36:18 EST 2005
Update of /projects/cvsroot/pvfs2-1/src/kernel/linux-2.6
In directory parlweb:/tmp/cvs-serv3406/src/kernel/linux-2.6
Modified Files:
Tag: pvfs2-1-3-1-branch
super.c
Log Message:
store fsid in statfs call
Index: super.c
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/kernel/linux-2.6/super.c,v
diff -u -w -p -u -r1.64 -r1.64.4.1
--- super.c 7 Oct 2005 21:03:08 -0000 1.64
+++ super.c 28 Nov 2005 16:36:18 -0000 1.64.4.1
@@ -345,6 +345,9 @@ static int pvfs2_statfs(
new_op->downcall.resp.statfs.blocks_total);
buf->f_type = sb->s_magic;
+ /* stash the fsid as well */
+ memcpy(&buf->f_fsid, &(PVFS2_SB(sb)->fs_id),
+ sizeof(PVFS2_SB(sb)->fs_id));
buf->f_bsize = sb->s_blocksize;
buf->f_namelen = PVFS2_NAME_LEN;
More information about the PVFS2-CVS
mailing list