fuse: fix flock breakage
Commit 37fb3a30 ("fuse: fix flock") added in 3.1-rc4 caused flock() to fail with ENOSYS with the kernel ABI version 7.16 or earlier. Fix by falling back to testing FUSE_POSIX_LOCKS for ABI versions 7.16 and earlier. Reported-by: NMartin Ziegler <ziegler@email.mathematik.uni-freiburg.de> Signed-off-by: NMiklos Szeredi <mszeredi@suse.cz> Tested-by: NMartin Ziegler <ziegler@email.mathematik.uni-freiburg.de> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
Showing
想要评论请 注册 或 登录