aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/localalloc.c
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2006-10-09 19:02:40 -0400
committerMark Fasheh <mark.fasheh@oracle.com>2006-12-01 21:28:05 -0500
commit4bcec1847ac4f75c2ee6d091b495f34d8d822e6a (patch)
treefaac00bd440eff91bd59a3cef88e74220082163a /fs/ocfs2/localalloc.c
parenta301a27d715276a71827004549bcbb2b64776c11 (diff)
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/localalloc.c')
-rw-r--r--fs/ocfs2/localalloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ocfs2/localalloc.c b/fs/ocfs2/localalloc.c
index 869383e7c562..4c46c0a81e00 100644
--- a/fs/ocfs2/localalloc.c
+++ b/fs/ocfs2/localalloc.c
@@ -231,7 +231,7 @@ void ocfs2_shutdown_local_alloc(struct ocfs2_super *osb)
231 231
232 mutex_lock(&main_bm_inode->i_mutex); 232 mutex_lock(&main_bm_inode->i_mutex);
233 233
234 status = ocfs2_meta_lock(main_bm_inode, NULL, &main_bm_bh, 1); 234 status = ocfs2_meta_lock(main_bm_inode, &main_bm_bh, 1);
235 if (status < 0) { 235 if (status < 0) {
236 mlog_errno(status); 236 mlog_errno(status);
237 goto out_mutex; 237 goto out_mutex;
@@ -399,7 +399,7 @@ int ocfs2_complete_local_alloc_recovery(struct ocfs2_super *osb,
399 399
400 mutex_lock(&main_bm_inode->i_mutex); 400 mutex_lock(&main_bm_inode->i_mutex);
401 401
402 status = ocfs2_meta_lock(main_bm_inode, NULL, &main_bm_bh, 1); 402 status = ocfs2_meta_lock(main_bm_inode, &main_bm_bh, 1);
403 if (status < 0) { 403 if (status < 0) {
404 mlog_errno(status); 404 mlog_errno(status);
405 goto out_mutex; 405 goto out_mutex;