OSDN Git Service

btrfs: scrub: introduce error reporting functionality for scrub_stripe
[tomoyo/tomoyo-test1.git] / fs / namespace.c
index bc0f152..6836e93 100644 (file)
@@ -4183,9 +4183,9 @@ out:
        unlock_mount_hash();
 
        if (kattr->propagation) {
-               namespace_unlock();
                if (err)
                        cleanup_group_ids(mnt, NULL);
+               namespace_unlock();
        }
 
        return err;