-
- Downloads
ocfs2: use i_size_read() to access i_size
Though ocfs2 uses inode->i_mutex to protect i_size, there are both i_size_read/write() and direct accesses. Clean up all direct access to eliminate confusion. Signed-off-by:Junxiao Bi <junxiao.bi@oracle.com> Cc: Jie Liu <jeff.liu@oracle.com> Cc: Mark Fasheh <mfasheh@suse.com> Cc: Joel Becker <jlbec@evilplan.org> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- fs/ocfs2/aops.c 1 addition, 1 deletionfs/ocfs2/aops.c
- fs/ocfs2/extent_map.c 5 additions, 5 deletionsfs/ocfs2/extent_map.c
- fs/ocfs2/ioctl.c 1 addition, 1 deletionfs/ocfs2/ioctl.c
- fs/ocfs2/journal.c 4 additions, 4 deletionsfs/ocfs2/journal.c
- fs/ocfs2/move_extents.c 1 addition, 1 deletionfs/ocfs2/move_extents.c
- fs/ocfs2/quota_global.c 3 additions, 3 deletionsfs/ocfs2/quota_global.c
- fs/ocfs2/quota_local.c 6 additions, 6 deletionsfs/ocfs2/quota_local.c
Loading
Please register or sign in to comment