]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/dlm/lockspace.c
Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm
[karo-tx-linux.git] / fs / dlm / lockspace.c
index 6802653473d14f2cfb4aca8a24de29ad286246c5..1dc72105ab125171b4bb3356ea0a09577178ec77 100644 (file)
@@ -438,17 +438,18 @@ static int new_lockspace(char *name, int namelen, void **lockspace,
        ls->ls_count = 0;
        ls->ls_flags = 0;
 
-       /* ls_exflags are forced to match among nodes, and we don't
-          need to require all nodes to have TIMEWARN active */
        if (flags & DLM_LSFL_TIMEWARN)
                set_bit(LSFL_TIMEWARN, &ls->ls_flags);
-       ls->ls_exflags = (flags & ~DLM_LSFL_TIMEWARN);
 
        if (flags & DLM_LSFL_FS)
                ls->ls_allocation = GFP_NOFS;
        else
                ls->ls_allocation = GFP_KERNEL;
 
+       /* ls_exflags are forced to match among nodes, and we don't
+          need to require all nodes to have TIMEWARN or FS set */
+       ls->ls_exflags = (flags & ~(DLM_LSFL_TIMEWARN | DLM_LSFL_FS));
+
        size = dlm_config.ci_rsbtbl_size;
        ls->ls_rsbtbl_size = size;