[PATCH] nfs/super: set MS_POSIXACL only if ACL support is enabled

2018-01-15 Thread Max Kellermann
The code comment says "We will [apply the umask] ourselves", but that happens in posix_acl_create() only if the kernel has POSIX ACL support. Without it, posix_acl_create() is a is an empty dummy function. So let's not pretend we will apply the umask if we can already know that we will never.

[PATCH] nfs/super: set MS_POSIXACL only if ACL support is enabled

2018-01-15 Thread Max Kellermann
The code comment says "We will [apply the umask] ourselves", but that happens in posix_acl_create() only if the kernel has POSIX ACL support. Without it, posix_acl_create() is a is an empty dummy function. So let's not pretend we will apply the umask if we can already know that we will never.