diff options
author | Christoph Hellwig <hch@infradead.org> | 2010-08-18 11:29:19 +0200 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-09-10 12:35:39 +0200 |
commit | e045db80d07250312500b2ed707b84dc703189d6 (patch) | |
tree | f8836dca5ac013bd400e4d9ea9f6ab96976284ed /fs | |
parent | ext4: do not send discards as barriers (diff) | |
download | linux-e045db80d07250312500b2ed707b84dc703189d6.tar.xz linux-e045db80d07250312500b2ed707b84dc703189d6.zip |
fat: do not send discards as barriers
fat already uses synchronous discards, no need to add I/O barriers.
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')
-rw-r--r-- | fs/fat/fatent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fat/fatent.c b/fs/fat/fatent.c index 3a56a82f5658..f9a0b7ae8648 100644 --- a/fs/fat/fatent.c +++ b/fs/fat/fatent.c @@ -579,7 +579,7 @@ int fat_free_clusters(struct inode *inode, int cluster) fat_clus_to_blknr(sbi, first_cl), nr_clus * sbi->sec_per_clus, GFP_NOFS, - BLKDEV_IFL_WAIT | BLKDEV_IFL_BARRIER); + BLKDEV_IFL_WAIT); first_cl = cluster; } |