]> git.baikalelectronics.ru Git - kernel.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)
committerJeff Layton <jeff.layton@primarydata.com>
Mon, 13 Jul 2015 10:29:11 +0000 (06:29 -0400)
commit84f97a963e624e0f12240d5ab046aff0b0d0fc93
treedf7ad7994f512987b2b10102dea5b2586b14efcd
parent44d37ae77933e94b9b395d748efb22db61c5576b
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