aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/alloc.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/alloc.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/alloc.c')
-rw-r--r--fs/ocfs2/alloc.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/fs/ocfs2/alloc.c b/fs/ocfs2/alloc.c
index c8a4727bae8a..22dd60833c9b 100644
--- a/fs/ocfs2/alloc.c
+++ b/fs/ocfs2/alloc.c
@@ -1152,7 +1152,7 @@ static int __ocfs2_flush_truncate_log(struct ocfs2_super *osb)
1152 1152
1153 mutex_lock(&data_alloc_inode->i_mutex); 1153 mutex_lock(&data_alloc_inode->i_mutex);
1154 1154
1155 status = ocfs2_meta_lock(data_alloc_inode, NULL, &data_alloc_bh, 1); 1155 status = ocfs2_meta_lock(data_alloc_inode, &data_alloc_bh, 1);
1156 if (status < 0) { 1156 if (status < 0) {
1157 mlog_errno(status); 1157 mlog_errno(status);
1158 goto out_mutex; 1158 goto out_mutex;
@@ -2003,10 +2003,7 @@ int ocfs2_prepare_truncate(struct ocfs2_super *osb,
2003 mutex_lock(&ext_alloc_inode->i_mutex); 2003 mutex_lock(&ext_alloc_inode->i_mutex);
2004 (*tc)->tc_ext_alloc_inode = ext_alloc_inode; 2004 (*tc)->tc_ext_alloc_inode = ext_alloc_inode;
2005 2005
2006 status = ocfs2_meta_lock(ext_alloc_inode, 2006 status = ocfs2_meta_lock(ext_alloc_inode, &ext_alloc_bh, 1);
2007 NULL,
2008 &ext_alloc_bh,
2009 1);
2010 if (status < 0) { 2007 if (status < 0) {
2011 mlog_errno(status); 2008 mlog_errno(status);
2012 goto bail; 2009 goto bail;