search for: ffe7d34

Displaying 1 result from an estimated 1 matches for "ffe7d34".

Did you mean: fe7d3y
2009 Mar 27
1
[PATCH 1/1] OCFS2: 64-bit inode number for getattr() instead of 32-bit value
...nsigned long) value. if the ocfs2 partition is huge enough, that may become an incorrect value. the fix is filling it again after generic_fillattr() with ip_blkno(u64). Signed-off-by: Wengang Wang <wen.gang.wang at oracle.com> -- diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c index a5887df..ffe7d34 100644 --- a/fs/ocfs2/file.c +++ b/fs/ocfs2/file.c @@ -1076,6 +1076,8 @@ int ocfs2_getattr(struct vfsmount *mnt, /* We set the blksize from the cluster size for performance */ stat->blksize = osb->s_clustersize; + stat->ino = OCFS2_I(inode)->ip_blkno; + bail: mlog_exit(err);