diff options
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); |