diff options
-rw-r--r-- | fs/nilfs2/the_nilfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nilfs2/the_nilfs.c b/fs/nilfs2/the_nilfs.c index 33871f7e4f01..7ffcf2b8b1f4 100644 --- a/fs/nilfs2/the_nilfs.c +++ b/fs/nilfs2/the_nilfs.c | |||
@@ -670,7 +670,7 @@ int nilfs_discard_segments(struct the_nilfs *nilfs, __u64 *segnump, | |||
670 | start * sects_per_block, | 670 | start * sects_per_block, |
671 | nblocks * sects_per_block, | 671 | nblocks * sects_per_block, |
672 | GFP_NOFS, | 672 | GFP_NOFS, |
673 | DISCARD_FL_BARRIER); | 673 | BLKDEV_IFL_BARRIER); |
674 | if (ret < 0) | 674 | if (ret < 0) |
675 | return ret; | 675 | return ret; |
676 | nblocks = 0; | 676 | nblocks = 0; |
@@ -680,7 +680,7 @@ int nilfs_discard_segments(struct the_nilfs *nilfs, __u64 *segnump, | |||
680 | ret = blkdev_issue_discard(nilfs->ns_bdev, | 680 | ret = blkdev_issue_discard(nilfs->ns_bdev, |
681 | start * sects_per_block, | 681 | start * sects_per_block, |
682 | nblocks * sects_per_block, | 682 | nblocks * sects_per_block, |
683 | GFP_NOFS, DISCARD_FL_BARRIER); | 683 | GFP_NOFS, BLKDEV_IFL_BARRIER); |
684 | return ret; | 684 | return ret; |
685 | } | 685 | } |
686 | 686 | ||