aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/journal.c
diff options
context:
space:
mode:
authorMark Fasheh <mfasheh@suse.com>2008-02-01 14:59:09 -0500
committerMark Fasheh <mfasheh@suse.com>2008-04-18 11:56:02 -0400
commit8e8a4603b5422c9145880e73b23bc4c2c4de0098 (patch)
tree4d388ae74ed9e5f8cfec19ff20d07d81ca742592 /fs/ocfs2/journal.c
parent4b119e21d0c66c22e8ca03df05d9de623d0eb50f (diff)
ocfs2: Move slot map access into slot_map.c
journal.c and dlmglue.c would refresh the slot map by hand. Instead, have the update and clear functions do the work inside slot_map.c. The eventual result is to make ocfs2_slot_info defined privately in slot_map.c Signed-off-by: Joel Becker <joel.becker@oracle.com> Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/ocfs2/journal.c')
-rw-r--r--fs/ocfs2/journal.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ocfs2/journal.c b/fs/ocfs2/journal.c
index f31c7e8c19c3..c2e654ee703a 100644
--- a/fs/ocfs2/journal.c
+++ b/fs/ocfs2/journal.c
@@ -1123,8 +1123,7 @@ static int ocfs2_recover_node(struct ocfs2_super *osb,
1123 1123
1124 /* Likewise, this would be a strange but ultimately not so 1124 /* Likewise, this would be a strange but ultimately not so
1125 * harmful place to get an error... */ 1125 * harmful place to get an error... */
1126 ocfs2_clear_slot(si, slot_num); 1126 status = ocfs2_clear_slot(osb, slot_num);
1127 status = ocfs2_update_disk_slots(osb, si);
1128 if (status < 0) 1127 if (status < 0)
1129 mlog_errno(status); 1128 mlog_errno(status);
1130 1129