]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd8e5726f86fd754e8a52769ba6e677a56740c486
treecd1fd3c10b724e9ebe1c583e6b21b249dcc95671
parentfaf7f35d95ee9a1deae28f0d3c71b39020060431
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