summaryrefslogtreecommitdiff
path: root/lib/extable.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2007-05-11 03:02:07 +0400
committerJ. Bruce Fields <bfields@citi.umich.edu>2007-10-10 02:32:45 +0400
commitb842e240f27678aa5d71611cddc8d17a93fb0caf (patch)
tree7722a03d55068e783d0dfe6d98635ab50d2b5bfa /lib/extable.c
parentbbf25010f1a6b761914430f5fca081ec8c7accd1 (diff)
downloadlinux-b842e240f27678aa5d71611cddc8d17a93fb0caf.tar.xz
locks: reverse order of posix_locks_conflict() arguments
The first argument to posix_locks_conflict() is meant to be a lock request, and the second a lock from an inode's lock request. It doesn't really make a difference which order you call them in, since the only asymmetric test in posix_lock_conflict() is the check whether the second argument is a posix lock--and every caller already does that check for some reason. But may as well fix posix_test_lock() to call posix_locks_conflict() with the arguments in the same order as everywhere else. Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
Diffstat (limited to 'lib/extable.c')
0 files changed, 0 insertions, 0 deletions