]> git.baikalelectronics.ru Git - kernel.git/commit
Move locks API users to locks_lock_inode_wait()
authorBenjamin Coddington <bcodding@redhat.com>
Thu, 22 Oct 2015 17:38:14 +0000 (13:38 -0400)
committerJeff Layton <jeff.layton@primarydata.com>
Thu, 22 Oct 2015 18:57:36 +0000 (14:57 -0400)
commit79bd30eca98203440f669d3a4ca772eae26e14fa
tree6b54bdaa39f67c13cea45933dedc39f138051de9
parent1152cb902d1b40d80e7113f406453613bf4ece8a
Move locks API users to locks_lock_inode_wait()

Instead of having users check for FL_POSIX or FL_FLOCK to call the correct
locks API function, use the check within locks_lock_inode_wait().  This
allows for some later cleanup.

Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
12 files changed:
drivers/staging/lustre/lustre/llite/file.c
fs/9p/vfs_file.c
fs/ceph/locks.c
fs/cifs/file.c
fs/dlm/plock.c
fs/fuse/file.c
fs/gfs2/file.c
fs/lockd/clntproc.c
fs/locks.c
fs/nfs/file.c
fs/nfs/nfs4proc.c
fs/ocfs2/locks.c