aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs/segment.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/f2fs/segment.c')
-rw-r--r--fs/f2fs/segment.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c
index c51fa4bee60b..cfc0eb4f24d5 100644
--- a/fs/f2fs/segment.c
+++ b/fs/f2fs/segment.c
@@ -272,6 +272,7 @@ static void f2fs_issue_discard(struct f2fs_sb_info *sbi,
272 sector_t start = ((sector_t)blkstart) << sbi->log_sectors_per_block; 272 sector_t start = ((sector_t)blkstart) << sbi->log_sectors_per_block;
273 sector_t len = ((sector_t)blklen) << sbi->log_sectors_per_block; 273 sector_t len = ((sector_t)blklen) << sbi->log_sectors_per_block;
274 blkdev_issue_discard(sbi->sb->s_bdev, start, len, GFP_NOFS, 0); 274 blkdev_issue_discard(sbi->sb->s_bdev, start, len, GFP_NOFS, 0);
275 trace_f2fs_issue_discard(sbi->sb, blkstart, blklen);
275} 276}
276 277
277static void add_discard_addrs(struct f2fs_sb_info *sbi, 278static void add_discard_addrs(struct f2fs_sb_info *sbi,