diff options
author | Joel Becker <joel.becker@oracle.com> | 2009-02-13 06:41:26 -0500 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2009-09-04 19:08:10 -0400 |
commit | dbdcf6a48a40e6c9d7081393d793c4f1c5bb4fcf (patch) | |
tree | d50b179dbbe1a62ea98a0b65ecf33c9a86d906b0 /fs/ocfs2/xattr.c | |
parent | cbee7e1a6a1a2a3d6eda1f76ffc38a3ed3eeb6cc (diff) |
ocfs2: ocfs2_remove_extent() no longer needs struct inode.
One more generic btree function that is isolated from struct inode.
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/xattr.c')
-rw-r--r-- | fs/ocfs2/xattr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ocfs2/xattr.c b/fs/ocfs2/xattr.c index fdd02c43fa14..96f973a302fa 100644 --- a/fs/ocfs2/xattr.c +++ b/fs/ocfs2/xattr.c | |||
@@ -663,7 +663,7 @@ static int __ocfs2_remove_xattr_range(struct inode *inode, | |||
663 | goto out; | 663 | goto out; |
664 | } | 664 | } |
665 | 665 | ||
666 | ret = ocfs2_remove_extent(inode, &et, cpos, len, handle, ctxt->meta_ac, | 666 | ret = ocfs2_remove_extent(handle, &et, cpos, len, ctxt->meta_ac, |
667 | &ctxt->dealloc); | 667 | &ctxt->dealloc); |
668 | if (ret) { | 668 | if (ret) { |
669 | mlog_errno(ret); | 669 | mlog_errno(ret); |
@@ -4881,7 +4881,7 @@ static int ocfs2_rm_xattr_cluster(struct inode *inode, | |||
4881 | goto out_commit; | 4881 | goto out_commit; |
4882 | } | 4882 | } |
4883 | 4883 | ||
4884 | ret = ocfs2_remove_extent(inode, &et, cpos, len, handle, meta_ac, | 4884 | ret = ocfs2_remove_extent(handle, &et, cpos, len, meta_ac, |
4885 | &dealloc); | 4885 | &dealloc); |
4886 | if (ret) { | 4886 | if (ret) { |
4887 | mlog_errno(ret); | 4887 | mlog_errno(ret); |