diff options
author | Christoph Hellwig <hch@infradead.org> | 2010-08-18 05:29:19 -0400 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-09-10 06:35:39 -0400 |
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 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) | |||
579 | fat_clus_to_blknr(sbi, first_cl), | 579 | fat_clus_to_blknr(sbi, first_cl), |
580 | nr_clus * sbi->sec_per_clus, | 580 | nr_clus * sbi->sec_per_clus, |
581 | GFP_NOFS, | 581 | GFP_NOFS, |
582 | BLKDEV_IFL_WAIT | BLKDEV_IFL_BARRIER); | 582 | BLKDEV_IFL_WAIT); |
583 | 583 | ||
584 | first_cl = cluster; | 584 | first_cl = cluster; |
585 | } | 585 | } |