]> 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)
commit31bb7a3797a15187c5e13acdf62780745d66f4d7
treedf7ad7994f512987b2b10102dea5b2586b14efcd
parentcc71ab8c8fb2ec4467fb2c506127b4a1268e9561
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