commit | f17c20dd2ec81e8ff328b81bc847da9429d0975b | [log] [tgz] |
---|---|---|
author | Junxiao Bi <junxiao.bi@oracle.com> | Wed Sep 11 14:19:45 2013 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Sep 11 15:56:30 2013 -0700 |
tree | 288ff70d8c78e14f51dde033921ee0bc7072e4cd | |
parent | 2b1e55c389105b722cccadfa47f5615f57d8887f [diff] |
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>