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>
This commit is contained in:
@@ -231,7 +231,7 @@ void ocfs2_shutdown_local_alloc(struct ocfs2_super *osb)
|
||||
|
||||
mutex_lock(&main_bm_inode->i_mutex);
|
||||
|
||||
status = ocfs2_meta_lock(main_bm_inode, NULL, &main_bm_bh, 1);
|
||||
status = ocfs2_meta_lock(main_bm_inode, &main_bm_bh, 1);
|
||||
if (status < 0) {
|
||||
mlog_errno(status);
|
||||
goto out_mutex;
|
||||
@@ -399,7 +399,7 @@ int ocfs2_complete_local_alloc_recovery(struct ocfs2_super *osb,
|
||||
|
||||
mutex_lock(&main_bm_inode->i_mutex);
|
||||
|
||||
status = ocfs2_meta_lock(main_bm_inode, NULL, &main_bm_bh, 1);
|
||||
status = ocfs2_meta_lock(main_bm_inode, &main_bm_bh, 1);
|
||||
if (status < 0) {
|
||||
mlog_errno(status);
|
||||
goto out_mutex;
|
||||
|
Reference in New Issue
Block a user