1
0
Fork 0

staging/lustre: MS_POSIXACL is always defined, don't check for it

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
hifive-unleashed-5.1
Oleg Drokin 2016-02-26 01:49:59 -05:00 committed by Greg Kroah-Hartman
parent caa88c2657
commit 066edf2b89
1 changed files with 0 additions and 4 deletions

View 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;
}