summaryrefslogtreecommitdiffstats
path: root/fs
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 /fs
parent61002f7db33c7d064cddcdab680fb750fa43d8fd (diff)
downloadop-kernel-dev-e045db80d07250312500b2ed707b84dc703189d6.zip
op-kernel-dev-e045db80d07250312500b2ed707b84dc703189d6.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fat/fatent.c b/fs/fat/fatent.c
index 3a56a82..f9a0b7a 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;
}
OpenPOWER on IntegriCloud