diff options
author | Tao Ma <tao.ma@oracle.com> | 2010-08-12 04:36:38 +0200 |
---|---|---|
committer | Tao Ma <tao.ma@oracle.com> | 2010-08-12 04:39:57 +0200 |
commit | 155027121fe52f9b4f25e9d156c22f2f5012e5fe (patch) | |
tree | 74067d52b685ab314173e74cc85a43a5d9e20c7d /fs/ocfs2/aops.c | |
parent | ocfs2: pass struct file* to ocfs2_prepare_inode_for_write. (diff) | |
download | linux-155027121fe52f9b4f25e9d156c22f2f5012e5fe.tar.xz linux-155027121fe52f9b4f25e9d156c22f2f5012e5fe.zip |
ocfs2: Add struct file to ocfs2_refcount_cow.
Add a new parameter 'struct file *' to ocfs2_refcount_cow
so that we can add readahead support later.
Signed-off-by: Tao Ma <tao.ma@oracle.com>
Diffstat (limited to 'fs/ocfs2/aops.c')
-rw-r--r-- | fs/ocfs2/aops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/aops.c b/fs/ocfs2/aops.c index e3efdd93773f..7155c5a919d7 100644 --- a/fs/ocfs2/aops.c +++ b/fs/ocfs2/aops.c @@ -1693,7 +1693,7 @@ int ocfs2_write_begin_nolock(struct file *filp, mlog_errno(ret); goto out; } else if (ret == 1) { - ret = ocfs2_refcount_cow(inode, di_bh, + ret = ocfs2_refcount_cow(inode, filp, di_bh, wc->w_cpos, wc->w_clen, UINT_MAX); if (ret) { mlog_errno(ret); |