ocfs2: pass struct file* to ocfs2_write_begin_nolock.
authorTao Ma <tao.ma@oracle.com>
Thu, 12 Aug 2010 02:25:28 +0000 (10:25 +0800)
committerTao Ma <tao.ma@oracle.com>
Thu, 12 Aug 2010 02:39:48 +0000 (10:39 +0800)
commit0378da0fda6edf5aaffda6f1248a78986bd955b5
tree67b0128e65deb27818eb52d09dd1d0598675a3b2
parent5af568cbd55f60b5a1d174f621b273e4f585dc35
ocfs2: pass struct file* to ocfs2_write_begin_nolock.

struct file * has file_ra_state to store the readahead state
and data. So pass this to ocfs2_write_begin_nolock so that
it can be used in ocfs2_refcount_cow.

Signed-off-by: Tao Ma <tao.ma@oracle.com>
fs/ocfs2/aops.c
fs/ocfs2/aops.h
fs/ocfs2/mmap.c