logfs: set superblock shutdown flag after generic sb shutdown
[deliverable/linux.git] / fs / logfs / super.c
index e795c234ea33592e12cb264c0c8c84d2146f29c3..f9b7a30b00a356396c54073c493620441df1b234 100644 (file)
@@ -491,9 +491,9 @@ static void logfs_kill_sb(struct super_block *sb)
         * From this point on alias entries are simply dropped - and any
         * writes to the object store are considered bugs.
         */
-       super->s_flags |= LOGFS_SB_FLAG_SHUTDOWN;
        log_super("LogFS: Now in shutdown\n");
        generic_shutdown_super(sb);
+       super->s_flags |= LOGFS_SB_FLAG_SHUTDOWN;
 
        BUG_ON(super->s_dirty_used_bytes || super->s_dirty_free_bytes);
 
This page took 0.025668 seconds and 5 git commands to generate.