summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2010-08-18 05:29:19 -0400
committerJens Axboe <jaxboe@fusionio.com>2010-09-10 12:35:39 +0200
commite045db80d07250312500b2ed707b84dc703189d6 (patch)
treef8836dca5ac013bd400e4d9ea9f6ab96976284ed
parent61002f7db33c7d064cddcdab680fb750fa43d8fd (diff)
downloadlwn-e045db80d07250312500b2ed707b84dc703189d6.tar.gz
lwn-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>
-rw-r--r--fs/fat/fatent.c2
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;
}