AFS doesn't support the "noacl" command line option. ACLs are mandatory
and interpreted by the server.
Signed-off-by: David Howells <dhowells@redhat.com>
cc: linux-afs@lists.infradead.org
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
$here/src/vfs/vfstest --test-setgid-create-umask \
--device "$TEST_DEV" --mount "$TEST_DIR" --fstype "$FSTYP"
-export MOUNT_OPTIONS="-o noacl $MOUNT_OPTIONS"
+if [ "$FSTYP" != afs ]
+then
+ export MOUNT_OPTIONS="-o noacl $MOUNT_OPTIONS"
+fi
# Also test S_ISGID stripping whether works correctly on underflying filesystem
# that supports noacl feature.