diff options
author | Christoph Hellwig <hch@infradead.org> | 2010-08-18 05:29:19 -0400 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-09-10 12:35:39 +0200 |
commit | e045db80d07250312500b2ed707b84dc703189d6 (patch) | |
tree | f8836dca5ac013bd400e4d9ea9f6ab96976284ed /fs/fat | |
parent | 61002f7db33c7d064cddcdab680fb750fa43d8fd (diff) |
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/fat')
-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 3a56a82f565..f9a0b7ae864 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; } |