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)
committerJeff Layton <jeff.layton@primarydata.com>
Mon, 13 Jul 2015 10:29:11 +0000 (06:29 -0400)
commitee296d7c5709440f8abd36b5b65c6b3e388538d9
treedf7ad7994f512987b2b10102dea5b2586b14efcd
parent83bfff23e9ed19f37c4ef0bba84e75bd88e5cf21
locks: inline posix_lock_file_wait and flock_lock_file_wait

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