diff options
author | Mark Fasheh <mark.fasheh@oracle.com> | 2007-10-18 18:30:42 -0400 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2008-01-25 17:46:01 -0500 |
commit | e63aecb651ba73dffc62f9608ee1b7ae2a0ffd4b (patch) | |
tree | 06a4b727230120fe73421dc3149c21aaed5fe91e /fs/ocfs2/localalloc.c | |
parent | c934a92d05b549dd2f25db72c5fc3cb9dcf1b611 (diff) |
ocfs2: Rename ocfs2_meta_[un]lock
Call this the "inode_lock" now, since it covers both data and meta data.
This patch makes no functional changes.
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/localalloc.c')
-rw-r--r-- | fs/ocfs2/localalloc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ocfs2/localalloc.c b/fs/ocfs2/localalloc.c index 58ea88b5af36..0de0792fce7f 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, &main_bm_bh, 1); | 234 | status = ocfs2_inode_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; |
@@ -286,7 +286,7 @@ out_unlock: | |||
286 | if (main_bm_bh) | 286 | if (main_bm_bh) |
287 | brelse(main_bm_bh); | 287 | brelse(main_bm_bh); |
288 | 288 | ||
289 | ocfs2_meta_unlock(main_bm_inode, 1); | 289 | ocfs2_inode_unlock(main_bm_inode, 1); |
290 | 290 | ||
291 | out_mutex: | 291 | out_mutex: |
292 | mutex_unlock(&main_bm_inode->i_mutex); | 292 | mutex_unlock(&main_bm_inode->i_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, &main_bm_bh, 1); | 402 | status = ocfs2_inode_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; |
@@ -424,7 +424,7 @@ int ocfs2_complete_local_alloc_recovery(struct ocfs2_super *osb, | |||
424 | ocfs2_commit_trans(osb, handle); | 424 | ocfs2_commit_trans(osb, handle); |
425 | 425 | ||
426 | out_unlock: | 426 | out_unlock: |
427 | ocfs2_meta_unlock(main_bm_inode, 1); | 427 | ocfs2_inode_unlock(main_bm_inode, 1); |
428 | 428 | ||
429 | out_mutex: | 429 | out_mutex: |
430 | mutex_unlock(&main_bm_inode->i_mutex); | 430 | mutex_unlock(&main_bm_inode->i_mutex); |