Re: [PATCH] generic/571: skip test on filesystems that don't support F_SETLEASE fcntl

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



On Tue, Mar 31, 2020 at 10:51:35AM -0400, Scott Mayhew wrote:
> nfs and gfs2 (without localflocks) both use simple_nosetlease() for
> their setlease f_op, so skip this test on those filesystem types.
> 
> Signed-off-by: Scott Mayhew <smayhew@xxxxxxxxxx>

I think we need to check for an EINVAL return instead of hard coding
file system names.



[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux