fs: {lock,unlock}_flocks() stubs to prepare for BKL removal
authorSage Weil <sage@newdream.net>
Tue, 21 Sep 2010 21:35:37 +0000 (14:35 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 22 Sep 2010 00:27:44 +0000 (17:27 -0700)
commit8b15575cae7a93a784c3005c42b069edd9ba64dd
treecd1fd3c10b724e9ebe1c583e6b21b249dcc95671
parent1ce1e41c1b61a992077bd1c45c6c3fd6a8b10c02
fs: {lock,unlock}_flocks() stubs to prepare for BKL removal

The lock structs are currently protected by the BKL, but are accessed by
code in fs/locks.c and misc file system and DLM code.  These stubs will
allow all users to switch to the new interface before the implementation
is changed to a spinlock.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sage Weil <sage@newdream.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/fs.h