fs: add FSCONFIG_CMD_CREATE_EXCL
[linux-block.git] / fs / fs_context.c
index 851214d1d013dce8d385dddb31f331b03e7c9bf6..30d82d2979af33bb9197237ad27ddd8318acf64b 100644 (file)
@@ -692,6 +692,7 @@ void vfs_clean_context(struct fs_context *fc)
        security_free_mnt_opts(&fc->security);
        kfree(fc->source);
        fc->source = NULL;
+       fc->exclusive = false;
 
        fc->purpose = FS_CONTEXT_FOR_RECONFIGURE;
        fc->phase = FS_CONTEXT_AWAITING_RECONF;