]> www.infradead.org Git - users/jedix/linux-maple.git/commit
locks: inline posix_lock_file_wait and flock_lock_file_wait
authorJeff Layton <jeff.layton@primarydata.com>
Sat, 11 Jul 2015 10:43:03 +0000 (06:43 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Oct 2015 00:52:00 +0000 (09:52 +0900)
commitc7fc0d83869f71e89bdc7cb4ee65ff02ac66159f
tree9b26050ffdbe000f74dcaa55cd7998f727629283
parentb2540f146402c1cf28ea5a84ec5bb1f4c332e59e
locks: inline posix_lock_file_wait and flock_lock_file_wait

commit ee296d7c5709440f8abd36b5b65c6b3e388538d9 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>
fs/locks.c
include/linux/fs.h