diff options
Diffstat (limited to 'fs/gfs2/super.c')
-rw-r--r-- | fs/gfs2/super.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c index 1319b5c4ec68..2607ff13d486 100644 --- a/fs/gfs2/super.c +++ b/fs/gfs2/super.c | |||
@@ -864,12 +864,6 @@ static int gfs2_make_fs_ro(struct gfs2_sbd *sdp) | |||
864 | return error; | 864 | return error; |
865 | } | 865 | } |
866 | 866 | ||
867 | static int gfs2_umount_recovery_wait(void *word) | ||
868 | { | ||
869 | schedule(); | ||
870 | return 0; | ||
871 | } | ||
872 | |||
873 | /** | 867 | /** |
874 | * gfs2_put_super - Unmount the filesystem | 868 | * gfs2_put_super - Unmount the filesystem |
875 | * @sb: The VFS superblock | 869 | * @sb: The VFS superblock |
@@ -894,7 +888,7 @@ restart: | |||
894 | continue; | 888 | continue; |
895 | spin_unlock(&sdp->sd_jindex_spin); | 889 | spin_unlock(&sdp->sd_jindex_spin); |
896 | wait_on_bit(&jd->jd_flags, JDF_RECOVERY, | 890 | wait_on_bit(&jd->jd_flags, JDF_RECOVERY, |
897 | gfs2_umount_recovery_wait, TASK_UNINTERRUPTIBLE); | 891 | TASK_UNINTERRUPTIBLE); |
898 | goto restart; | 892 | goto restart; |
899 | } | 893 | } |
900 | spin_unlock(&sdp->sd_jindex_spin); | 894 | spin_unlock(&sdp->sd_jindex_spin); |