mirror_zfs/module/os/linux
Luis Henriques 5072f37419 Fix error code on __zpl_ioctl_setflags()
Other (all?) Linux filesystems seem to return -EPERM instead of -EACCESS
when trying to set FS_APPEND_FL or FS_IMMUTABLE_FL without the
CAP_LINUX_IMMUTABLE capability.  This was detected by generic/545 test
in the fstest suite.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Luis Henriques <henrix@camandro.org>
Closes #11791
2021-06-23 13:22:15 -07:00
..
spl Linux: Set spl_kmem_cache_slab_limit when page size !4K 2021-06-23 13:22:15 -07:00
zfs Fix error code on __zpl_ioctl_setflags() 2021-06-23 13:22:15 -07:00