diff options
author | Christoph Hellwig <hch@infradead.org> | 2010-08-18 11:29:23 +0200 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-09-10 12:35:40 +0200 |
commit | 0edd55faea7c8081bc826234b917501738a6218f (patch) | |
tree | 36a7add738bf47ce960d499f4cc96b38c5194c25 /fs/fat/misc.c | |
parent | block: remove the BLKDEV_IFL_BARRIER flag (diff) | |
download | linux-0edd55faea7c8081bc826234b917501738a6218f.tar.xz linux-0edd55faea7c8081bc826234b917501738a6218f.zip |
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 1736f2356388..970e682ea754 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; |