diff options
author | Tao Ma <tao.ma@oracle.com> | 2010-08-11 22:36:38 -0400 |
---|---|---|
committer | Tao Ma <tao.ma@oracle.com> | 2010-08-11 22:39:57 -0400 |
commit | 155027121fe52f9b4f25e9d156c22f2f5012e5fe (patch) | |
tree | 74067d52b685ab314173e74cc85a43a5d9e20c7d /fs/ocfs2/aops.c | |
parent | b890823635e022467b924e3d9da8c5166a4e349c (diff) |
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, | |||
1693 | mlog_errno(ret); | 1693 | mlog_errno(ret); |
1694 | goto out; | 1694 | goto out; |
1695 | } else if (ret == 1) { | 1695 | } else if (ret == 1) { |
1696 | ret = ocfs2_refcount_cow(inode, di_bh, | 1696 | ret = ocfs2_refcount_cow(inode, filp, di_bh, |
1697 | wc->w_cpos, wc->w_clen, UINT_MAX); | 1697 | wc->w_cpos, wc->w_clen, UINT_MAX); |
1698 | if (ret) { | 1698 | if (ret) { |
1699 | mlog_errno(ret); | 1699 | mlog_errno(ret); |