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/super.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/super.c')
-rw-r--r-- | fs/ocfs2/super.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index 064eba074f1e..7708df36e223 100644 --- a/fs/ocfs2/super.c +++ b/fs/ocfs2/super.c | |||
@@ -964,7 +964,7 @@ static int ocfs2_statfs(struct dentry *dentry, struct kstatfs *buf) | |||
964 | goto bail; | 964 | goto bail; |
965 | } | 965 | } |
966 | 966 | ||
967 | status = ocfs2_meta_lock(inode, &bh, 0); | 967 | status = ocfs2_inode_lock(inode, &bh, 0); |
968 | if (status < 0) { | 968 | if (status < 0) { |
969 | mlog_errno(status); | 969 | mlog_errno(status); |
970 | goto bail; | 970 | goto bail; |
@@ -988,7 +988,7 @@ static int ocfs2_statfs(struct dentry *dentry, struct kstatfs *buf) | |||
988 | 988 | ||
989 | brelse(bh); | 989 | brelse(bh); |
990 | 990 | ||
991 | ocfs2_meta_unlock(inode, 0); | 991 | ocfs2_inode_unlock(inode, 0); |
992 | status = 0; | 992 | status = 0; |
993 | bail: | 993 | bail: |
994 | if (inode) | 994 | if (inode) |
@@ -1019,7 +1019,7 @@ static void ocfs2_inode_init_once(struct kmem_cache *cachep, void *data) | |||
1019 | oi->ip_clusters = 0; | 1019 | oi->ip_clusters = 0; |
1020 | 1020 | ||
1021 | ocfs2_lock_res_init_once(&oi->ip_rw_lockres); | 1021 | ocfs2_lock_res_init_once(&oi->ip_rw_lockres); |
1022 | ocfs2_lock_res_init_once(&oi->ip_meta_lockres); | 1022 | ocfs2_lock_res_init_once(&oi->ip_inode_lockres); |
1023 | ocfs2_lock_res_init_once(&oi->ip_open_lockres); | 1023 | ocfs2_lock_res_init_once(&oi->ip_open_lockres); |
1024 | 1024 | ||
1025 | ocfs2_metadata_cache_init(&oi->vfs_inode); | 1025 | ocfs2_metadata_cache_init(&oi->vfs_inode); |