]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/locks.c
locks: change lm_get_owner and lm_put_owner prototypes
authorJeff Layton <jeff.layton@primarydata.com>
Fri, 3 Apr 2015 13:04:04 +0000 (09:04 -0400)
committerJeff Layton <jeff.layton@primarydata.com>
Fri, 3 Apr 2015 13:04:04 +0000 (09:04 -0400)
commitcae80b305e1c3944746dd93e33e9b2ccd5a490c1
tree1ede43da59f29e2a9af7cfb13070310a4d073194
parent5c1c669a1b2435e071d566b6db1a8e6b26542ba1
locks: change lm_get_owner and lm_put_owner prototypes

The current prototypes for these operations are somewhat awkward as they
deal with fl_owners but take struct file_lock arguments. In the future,
we'll want to be able to take references without necessarily dealing
with a struct file_lock.

Change them to take fl_owner_t arguments instead and have the callers
deal with assigning the values to the file_lock structs.

Signed-off-by: Jeff Layton <jlayton@primarydata.com>
fs/locks.c
fs/nfsd/nfs4state.c
include/linux/fs.h