diff options
Diffstat (limited to 'fs/ocfs2/journal.c')
-rw-r--r-- | fs/ocfs2/journal.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/ocfs2/journal.c b/fs/ocfs2/journal.c index fd9734def551..d95ee2720e6e 100644 --- a/fs/ocfs2/journal.c +++ b/fs/ocfs2/journal.c | |||
@@ -911,11 +911,12 @@ struct ocfs2_la_recovery_item { | |||
911 | * NOTE: This function can and will sleep on recovery of other nodes | 911 | * NOTE: This function can and will sleep on recovery of other nodes |
912 | * during cluster locking, just like any other ocfs2 process. | 912 | * during cluster locking, just like any other ocfs2 process. |
913 | */ | 913 | */ |
914 | void ocfs2_complete_recovery(void *data) | 914 | void ocfs2_complete_recovery(struct work_struct *work) |
915 | { | 915 | { |
916 | int ret; | 916 | int ret; |
917 | struct ocfs2_super *osb = data; | 917 | struct ocfs2_journal *journal = |
918 | struct ocfs2_journal *journal = osb->journal; | 918 | container_of(work, struct ocfs2_journal, j_recovery_work); |
919 | struct ocfs2_super *osb = journal->j_osb; | ||
919 | struct ocfs2_dinode *la_dinode, *tl_dinode; | 920 | struct ocfs2_dinode *la_dinode, *tl_dinode; |
920 | struct ocfs2_la_recovery_item *item; | 921 | struct ocfs2_la_recovery_item *item; |
921 | struct list_head *p, *n; | 922 | struct list_head *p, *n; |