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)
commit4f6563677ae833baad8003e14353241bc25da4fc
tree6b54bdaa39f67c13cea45933dedc39f138051de9
parente55c34a66f87e78fb1fc6b623b78c5ad74b475af
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