locks: new helpers - flock_lock_inode_wait and posix_lock_inode_wait
authorJeff Layton <jeff.layton@primarydata.com>
Sat, 11 Jul 2015 10:43:02 +0000 (06:43 -0400)
committerJeff Layton <jeff.layton@primarydata.com>
Mon, 13 Jul 2015 10:29:11 +0000 (06:29 -0400)
commit29d01b22eaa18d8b46091d3c98c6001c49f78e4a
tree5277436688ea9bc2ba8295d233110b164407b2c0
parentbcd7f78d078ff6197715c1ed070c92aca57ec12c
locks: new helpers - flock_lock_inode_wait and posix_lock_inode_wait

Allow callers to pass in an inode instead of a filp.

Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
Reviewed-by: "J. Bruce Fields" <bfields@fieldses.org>
Tested-by: "J. Bruce Fields" <bfields@fieldses.org>
fs/locks.c
include/linux/fs.h