]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: use i_size_read() to access i_size
authorJunxiao Bi <junxiao.bi@oracle.com>
Wed, 11 Sep 2013 21:19:45 +0000 (14:19 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:56:30 +0000 (15:56 -0700)
commit14e2acbc8c899f3ac398822359e04399294f0717
tree288ff70d8c78e14f51dde033921ee0bc7072e4cd
parente9c256da9d9eea257936d18560f2f049cf442bf8
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>
fs/ocfs2/aops.c
fs/ocfs2/extent_map.c
fs/ocfs2/ioctl.c
fs/ocfs2/journal.c
fs/ocfs2/move_extents.c
fs/ocfs2/quota_global.c
fs/ocfs2/quota_local.c