diff options
| author | Chao Yu <yuchao0@huawei.com> | 2021-02-22 13:07:33 +0300 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2021-03-13 00:16:42 +0300 |
| commit | 43f8c47ea7d59c7b2270835f1d7c4618a1ea27b6 (patch) | |
| tree | 1c056b5cf8b92c3fec9d733e6de555d36d2365e5 /lib/mpi/mpi-sub-ui.c | |
| parent | 3b42c741b1bf52ee9ed6fba5f9636d80ddacf73f (diff) | |
| download | linux-43f8c47ea7d59c7b2270835f1d7c4618a1ea27b6.tar.xz | |
f2fs: check discard command number before traversing discard pending list
In trim thread, let's add a condition to check discard command number
before traversing discard pending list, it can avoid unneeded traversing
if there is no discard command.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
