locks: inline posix_lock_file_wait and flock_lock_file_wait

commit ee296d7c57 upstream.

They just call file_inode and then the corresponding *_inode_file_wait
function. Just make them static inlines instead.

Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
Cc: William Dauchy <william@gandi.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Jeff Layton 2015-07-11 06:43:03 -04:00 • committed by Greg Kroah-Hartman
commit c7fc0d8386
2 changed files with 14 additions and 46 deletions