summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorVivek Goyal <vgoyal@redhat.com>2015-11-09 19:23:40 +0300
committerJens Axboe <axboe@fb.com>2015-11-11 19:36:57 +0300
commitdbd3ca50753e70e09cad747dce23b1a7683a3342 (patch)
tree7e41970d124767b0184baae1d339ac2d6995f080 /block
parentc74dc7801d515d01847fd5cf2b472489fa5717b1 (diff)
downloadlinux-dbd3ca50753e70e09cad747dce23b1a7683a3342.tar.xz
fs/block_dev.c: Remove WARN_ON() when inode writeback fails
If a block device is hot removed and later last reference to device is put, we try to writeback the dirty inode. But device is gone and that writeback fails. Currently we do a WARN_ON() which does not seem to be the right thing. Convert it to a ratelimited kernel warning. Reported-by: Andi Kleen <andi@firstfloor.org> Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Acked-by: Tejun Heo <tj@kernel.org> [jmoyer@redhat.com: get rid of unnecessary name initialization, 80 cols] Signed-off-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions