diff options
author | Christoph Hellwig <hch@infradead.org> | 2010-08-18 05:29:23 -0400 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-09-10 12:35:40 +0200 |
commit | 0edd55faea7c8081bc826234b917501738a6218f (patch) | |
tree | 36a7add738bf47ce960d499f4cc96b38c5194c25 /fs/fat/misc.c | |
parent | 8c5553678237b7121355108e03c36086037d8975 (diff) | |
download | op-kernel-dev-0edd55faea7c8081bc826234b917501738a6218f.zip op-kernel-dev-0edd55faea7c8081bc826234b917501738a6218f.tar.gz |
block: remove the BH_Eopnotsupp flag
This flag was only set for barrier buffers, which we don't submit
anymore.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'fs/fat/misc.c')
-rw-r--r-- | fs/fat/misc.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/fat/misc.c b/fs/fat/misc.c index 1736f23..970e682 100644 --- a/fs/fat/misc.c +++ b/fs/fat/misc.c @@ -255,10 +255,7 @@ int fat_sync_bhs(struct buffer_head **bhs, int nr_bhs) for (i = 0; i < nr_bhs; i++) { wait_on_buffer(bhs[i]); - if (buffer_eopnotsupp(bhs[i])) { - clear_buffer_eopnotsupp(bhs[i]); - err = -EOPNOTSUPP; - } else if (!err && !buffer_uptodate(bhs[i])) + if (!err && !buffer_uptodate(bhs[i])) err = -EIO; } return err; |