diff options
author | Arnd Bergmann <arnd@arndb.de> | 2010-07-07 16:51:27 +0200 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-08-07 18:26:08 +0200 |
commit | 6de43703108bb1d3fc9495b3e8107d6ec72f97e4 (patch) | |
tree | 86a5e955f33b0478b61631d373ca01ecf1558bc6 /net/netfilter/x_tables.c | |
parent | 62c2a7d969f30163f733c81158254b3095b23e72 (diff) | |
download | linux-6de43703108bb1d3fc9495b3e8107d6ec72f97e4.tar.gz linux-6de43703108bb1d3fc9495b3e8107d6ec72f97e4.tar.bz2 linux-6de43703108bb1d3fc9495b3e8107d6ec72f97e4.zip |
block: remove BKL from BLKROSET and BLKFLSBUF
We only call the functions set_device_ro(),
invalidate_bdev(), sync_filesystem() and sync_blockdev()
while holding the BKL in these commands. All
of these are also done in other code paths without
the BKL, which leads me to the conclusion that
the BKL is not needed here either.
The reason we hold it here is that it was originally
pushed down into the ioctl function from vfs_ioctl.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'net/netfilter/x_tables.c')
0 files changed, 0 insertions, 0 deletions