mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-04 04:44:37 +08:00
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>
This commit is contained in:
parent
caa88c2657
commit
066edf2b89
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user