staging/lustre: MS_POSIXACL is always defined, don't check for it
authorOleg Drokin <green@linuxhacker.ru>
Fri, 26 Feb 2016 06:49:59 +0000 (01:49 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Mar 2016 03:17:41 +0000 (19:17 -0800)
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/llite_lib.c

index 47f9ad7..0cdaa48 100644 (file)
@@ -309,15 +309,11 @@ static int client_common_fill_super(struct super_block *sb, char *md, char *dt,
        }
 
        if (data->ocd_connect_flags & OBD_CONNECT_ACL) {
-#ifdef MS_POSIXACL
                sb->s_flags |= MS_POSIXACL;
-#endif
                sbi->ll_flags |= LL_SBI_ACL;
        } else {
                LCONSOLE_INFO("client wants to enable acl, but mdt not!\n");
-#ifdef MS_POSIXACL
                sb->s_flags &= ~MS_POSIXACL;
-#endif
                sbi->ll_flags &= ~LL_SBI_ACL;
        }