summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/suballoc.c
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2006-10-10 01:02:40 +0200
committerMark Fasheh <mark.fasheh@oracle.com>2006-12-02 03:28:05 +0100
commit4bcec1847ac4f75c2ee6d091b495f34d8d822e6a (patch)
treefaac00bd440eff91bd59a3cef88e74220082163a /fs/ocfs2/suballoc.c
parentocfs2: make ocfs2_alloc_handle() static (diff)
downloadlinux-4bcec1847ac4f75c2ee6d091b495f34d8d822e6a.tar.xz
linux-4bcec1847ac4f75c2ee6d091b495f34d8d822e6a.zip
ocfs2: remove unused handle argument from ocfs2_meta_lock_full()
Now that this is unused and all callers pass NULL, we can safely remove it. Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/suballoc.c')
-rw-r--r--fs/ocfs2/suballoc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/suballoc.c b/fs/ocfs2/suballoc.c
index 31bda54fefe3..27f8dc4c819c 100644
--- a/fs/ocfs2/suballoc.c
+++ b/fs/ocfs2/suballoc.c
@@ -421,7 +421,7 @@ static int ocfs2_reserve_suballoc_bits(struct ocfs2_super *osb,
mutex_lock(&alloc_inode->i_mutex);
- status = ocfs2_meta_lock(alloc_inode, NULL, &bh, 1);
+ status = ocfs2_meta_lock(alloc_inode, &bh, 1);
if (status < 0) {
mutex_unlock(&alloc_inode->i_mutex);
iput(alloc_inode);