diff options
author | Chao Yu <yuchao0@huawei.com> | 2017-04-05 18:19:49 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-04-10 19:48:08 -0700 |
commit | d431413f00319919ed2adac0d58225160bd1d8fb (patch) | |
tree | 62c4f978ea07a9abf2fc0d3c420fd8a9b05e1b87 /fs/f2fs/super.c | |
parent | 22d375dd9cc6ee9ff6382487fdd6ca4759af82a9 (diff) | |
download | lwn-d431413f00319919ed2adac0d58225160bd1d8fb.tar.gz lwn-d431413f00319919ed2adac0d58225160bd1d8fb.zip |
f2fs: introduce f2fs_wait_discard_bios
Split f2fs_wait_discard_bios from f2fs_wait_discard_bio, just for cleanup,
no logic change.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/super.c')
-rw-r--r-- | fs/f2fs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 21d5eaa2793e..cb65e6d0d275 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@ -795,7 +795,7 @@ static void f2fs_put_super(struct super_block *sb) } /* be sure to wait for any on-going discard commands */ - f2fs_wait_discard_bio(sbi, NULL_ADDR); + f2fs_wait_discard_bios(sbi); /* write_checkpoint can update stat informaion */ f2fs_destroy_stats(sbi); |