aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/dlmglue.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2/dlmglue.c')
-rw-r--r--fs/ocfs2/dlmglue.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/fs/ocfs2/dlmglue.c b/fs/ocfs2/dlmglue.c
index 1f1873bf41fb..1a80fa9e7c9a 100644
--- a/fs/ocfs2/dlmglue.c
+++ b/fs/ocfs2/dlmglue.c
@@ -2132,8 +2132,6 @@ int ocfs2_super_lock(struct ocfs2_super *osb,
2132 int status = 0; 2132 int status = 0;
2133 int level = ex ? LKM_EXMODE : LKM_PRMODE; 2133 int level = ex ? LKM_EXMODE : LKM_PRMODE;
2134 struct ocfs2_lock_res *lockres = &osb->osb_super_lockres; 2134 struct ocfs2_lock_res *lockres = &osb->osb_super_lockres;
2135 struct buffer_head *bh;
2136 struct ocfs2_slot_info *si = osb->slot_info;
2137 2135
2138 mlog_entry_void(); 2136 mlog_entry_void();
2139 2137
@@ -2159,11 +2157,7 @@ int ocfs2_super_lock(struct ocfs2_super *osb,
2159 goto bail; 2157 goto bail;
2160 } 2158 }
2161 if (status) { 2159 if (status) {
2162 bh = si->si_bh; 2160 status = ocfs2_refresh_slot_info(osb);
2163 status = ocfs2_read_block(osb, bh->b_blocknr, &bh, 0,
2164 si->si_inode);
2165 if (status == 0)
2166 ocfs2_update_slot_info(si);
2167 2161
2168 ocfs2_complete_lock_res_refresh(lockres, status); 2162 ocfs2_complete_lock_res_refresh(lockres, status);
2169 2163