Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1511556 > unrolled thread
| Started by | Ming Lei <tom.leiming@gmail.com> |
|---|---|
| First post | 2016-10-29 10:20 +0200 |
| Last post | 2016-10-31 16:40 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 13/60] fs: logfs: remove unnecesary check Ming Lei <tom.leiming@gmail.com> - 2016-10-29 10:20 +0200
Re: [PATCH 13/60] fs: logfs: remove unnecesary check Christoph Hellwig <hch@infradead.org> - 2016-10-31 16:40 +0100
| From | Ming Lei <tom.leiming@gmail.com> |
|---|---|
| Date | 2016-10-29 10:20 +0200 |
| Subject | [PATCH 13/60] fs: logfs: remove unnecesary check |
| Message-ID | <sxx1V-3GR-39@gated-at.bofh.it> |
The check on bio->bi_vcnt doesn't make sense in erase_end_io(). Signed-off-by: Ming Lei <tom.leiming@gmail.com> --- fs/logfs/dev_bdev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/logfs/dev_bdev.c b/fs/logfs/dev_bdev.c index ff5e3e31bca3..f05a02ff43e6 100644 --- a/fs/logfs/dev_bdev.c +++ b/fs/logfs/dev_bdev.c @@ -144,7 +144,6 @@ static void erase_end_io(struct bio *bio) struct logfs_super *super = logfs_super(sb); BUG_ON(bio->bi_error); /* FIXME: Retry io or write elsewhere */ - BUG_ON(bio->bi_vcnt == 0); bio_put(bio); if (atomic_dec_and_test(&super->s_pending_writes)) wake_up(&wq); -- 2.7.4
[toc] | [next] | [standalone]
| From | Christoph Hellwig <hch@infradead.org> |
|---|---|
| Date | 2016-10-31 16:40 +0100 |
| Message-ID | <symQN-4eD-15@gated-at.bofh.it> |
| In reply to | #1511556 |
On Sat, Oct 29, 2016 at 04:08:12PM +0800, Ming Lei wrote: > The check on bio->bi_vcnt doesn't make sense in erase_end_io(). Agreed, Reviewed-by: Christoph Hellwig <hch@lst.de>
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web