The patch titled ext2: fsid for statvfs has been added to the -mm tree. Its filename is ext2-fsid-for-statvfs.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: ext2: fsid for statvfs From: Pekka Enberg <penberg@xxxxxxxxxxxxxx> Update ext2_statfs to return an FSID that is a 64 bit XOR of the 128 bit filesystem UUID as suggested by Andreas Dilger. See the following Bugzilla entry for details: http://bugzilla.kernel.org/show_bug.cgi?id=136 Cc: Andreas Dilger <adilger@xxxxxxxxxxxxx> Cc: Stephen Tweedie <sct@xxxxxxxxxx> Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/ext2/super.c | 5 +++++ 1 files changed, 5 insertions(+) diff -puN fs/ext2/super.c~ext2-fsid-for-statvfs fs/ext2/super.c --- a/fs/ext2/super.c~ext2-fsid-for-statvfs +++ a/fs/ext2/super.c @@ -1092,6 +1092,7 @@ static int ext2_statfs (struct dentry * struct ext2_sb_info *sbi = EXT2_SB(sb); unsigned long overhead; int i; + u64 fsid; if (test_opt (sb, MINIX_DF)) overhead = 0; @@ -1133,6 +1134,10 @@ static int ext2_statfs (struct dentry * buf->f_files = le32_to_cpu(sbi->s_es->s_inodes_count); buf->f_ffree = ext2_count_free_inodes (sb); buf->f_namelen = EXT2_NAME_LEN; + fsid = le64_to_cpup((void *)es->s_uuid) ^ + le64_to_cpup((void *)es->s_uuid + sizeof(u64)); + buf->f_fsid.val[0] = fsid & 0xFFFFFFFFUL; + buf->f_fsid.val[1] = (fsid >> 32) & 0xFFFFFFFFUL; return 0; } _ Patches currently in -mm which might be from penberg@xxxxxxxxxxxxxx are origin.patch ext2-fsid-for-statvfs.patch ext3-fsid-for-statvfs.patch ext4-fsid-for-statvfs.patch slab-leaks3-default-y.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html