This patchset does some general cleanup of the locktest binary, adds
some infrastructure to allow testing F_GETLK requests, and adds a new
F_GETLK test to the pile.
The main impetus here is a regression that I caused in F_GETLK handling
for v3.15. The patch is making its way to Linus now, but I want to be
sure that it doesn't regress in the future.
Jeff Layton (4):
locktest: don't assume that F_OPEN should use O_RDWR
locktest: set f_fd to INVALID_HANDLE on close
locktest: consolidate do_lock and do_unlock, and add ability to
F_GETLK
locktest: add a F_GETLK vs. openmode test
src/locktest.c | 125 ++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 69 deletions(-)
--
1.9.0
|