diff options
author | Stas Sergeev <stsp2@yandex.ru> | 2023-06-22 19:52:24 +0300 |
---|---|---|
committer | Jeff Layton <jlayton@kernel.org> | 2023-08-24 17:41:47 +0300 |
commit | bfe2e8f569073e7297ad19932b980964105bb777 (patch) | |
tree | 1213992728118d6382dfaa41debd9ce735313a43 /fs/locks.c | |
parent | 6c9007f65d14c87842920b0d376c9ade34fab152 (diff) | |
download | linux-bfe2e8f569073e7297ad19932b980964105bb777.tar.xz |
selftests: add OFD lock tests
Test the basic locking stuff on 2 fds: multiple read locks,
conflicts between read and write locks, use of len==0 for queries.
Also tests for F_UNLCK F_OFD_GETLK extension.
[ jlayton: fix unlink() pathname in selftest ]
Cc: Jeff Layton <jlayton@kernel.org>
Cc: Chuck Lever <chuck.lever@oracle.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Christian Brauner <brauner@kernel.org>
Cc: linux-fsdevel@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: Shuah Khan <shuah@kernel.org>
Cc: linux-kselftest@vger.kernel.org
Cc: linux-api@vger.kernel.org
Signed-off-by: Stas Sergeev <stsp2@yandex.ru>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Diffstat (limited to 'fs/locks.c')
0 files changed, 0 insertions, 0 deletions