summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/mtd_blkdevs.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2010-06-09 15:31:01 +0200
committerJens Axboe <jaxboe@fusionio.com>2010-06-11 12:58:08 +0200
commit29cb48594b873f6193d6327097e504bd3e2314de (patch)
tree1c93364fd70d93d42c6749c261f96f84a66d71e2 /drivers/mtd/mtd_blkdevs.c
parent334132ae921a14ac2b2ba48e174136f7f2c9aae1 (diff)
downloadtalos-obmc-linux-29cb48594b873f6193d6327097e504bd3e2314de.tar.gz
talos-obmc-linux-29cb48594b873f6193d6327097e504bd3e2314de.zip
writeback: fix pin_sb_for_writeback
We need to check for s_instances to make sure we don't bother working against a filesystem that is beeing unmounted, and we need to call put_super to make sure a superblock is freed when we race against umount. Also no need to keep sb_lock after we got a reference on it. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'drivers/mtd/mtd_blkdevs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud