The patch titled fs/reiserfs: return f_fsid for statfs(2) has been removed from the -mm tree. Its filename was fs-reiserfs-return-f_fsid-for-statfs2.patch This patch was dropped because an updated version will be merged The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: fs/reiserfs: return f_fsid for statfs(2) From: Coly Li <coly.li@xxxxxxx> This patch makes reiserfs3 return f_fsid info for statfs(2). By Andreas' suggestion, this patch populates a persistent f_fsid between boots/mounts with help of on-disk uuid record. Signed-off-by: Coly Li <coly.li@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/reiserfs/super.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff -puN fs/reiserfs/super.c~fs-reiserfs-return-f_fsid-for-statfs2 fs/reiserfs/super.c --- a/fs/reiserfs/super.c~fs-reiserfs-return-f_fsid-for-statfs2 +++ a/fs/reiserfs/super.c @@ -1883,7 +1883,9 @@ error: static int reiserfs_statfs(struct dentry *dentry, struct kstatfs *buf) { - struct reiserfs_super_block *rs = SB_DISK_SUPER_BLOCK(dentry->d_sb); + struct super_block *sb = dentry->d_sb; + struct reiserfs_super_block *rs = SB_DISK_SUPER_BLOCK(sb); + u64 id = huge_encode_dev(sb->s_bdev->bd_dev); buf->f_namelen = (REISERFS_MAX_NAME(s->s_blocksize)); buf->f_bfree = sb_free_blocks(rs); @@ -1892,6 +1894,9 @@ static int reiserfs_statfs(struct dentry buf->f_bsize = dentry->d_sb->s_blocksize; /* changed to accommodate gcc folks. */ buf->f_type = REISERFS_SUPER_MAGIC; + buf->f_fsid.val[0] = (u32)id; + buf->f_fsid.val[1] = (u32)(id >> 32); + return 0; } _ Patches currently in -mm which might be from coly.li@xxxxxxx are origin.patch linux-next.patch fs-adfs-return-f_fsid-for-statfs2.patch fs-affs-return-f_fsid-for-statfs2.patch fs-befs-return-f_fsid-for-statfs2.patch fs-cramfs-return-f_fsid-for-statfs2.patch fs-efs-return-f_fsid-for-statfs2.patch fs-fat-return-f_fsid-for-statfs2.patch fs-hfs-return-f_fsid-for-statfs2.patch fs-hfsplus-return-f_fsid-for-statfs2.patch fs-hpfs-return-f_fsid-for-statfs2.patch fs-isofs-return-f_fsid-for-statfs2.patch fs-minix-return-f_fsid-for-statfs2.patch fs-omfs-return-f_fsid-for-statfs2.patch fs-qnx4-return-f_fsid-for-statfs2.patch fs-reiserfs-return-f_fsid-for-statfs2-v3.patch fs-reiserfs-return-f_fsid-for-statfs2.patch fs-romfs-return-f_fsid-for-statfs2.patch fs-squashfs-return-f_fsid-for-statfs2.patch fs-sysv-return-f_fsid-for-statfs2.patch fs-ufs-return-f_fsid-for-statfs2.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