diff options
author | Chao Yu <yuchao0@huawei.com> | 2017-10-28 10:52:32 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-11-06 01:41:56 +0100 |
commit | 0ea805129d1bc5dacb588392d191f686c91a70bb (patch) | |
tree | 152f3e4f4422194e16f98428a87dbd732be87938 /fs/f2fs/f2fs.h | |
parent | f2fs: support bio allocation error injection (diff) | |
download | linux-0ea805129d1bc5dacb588392d191f686c91a70bb.tar.xz linux-0ea805129d1bc5dacb588392d191f686c91a70bb.zip |
f2fs: give correct trimmed blocks in fstrim
We have supported to issue discard in specified range during fstrim,
it needs to return caller with successfully trimmed bytes in that
range instead of bytes of invalid blocks which are scanned in
checkpoint.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r-- | fs/f2fs/f2fs.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index d89728c946a9..2b9b1d8b3870 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -162,7 +162,6 @@ struct cp_control { __u64 trim_start; __u64 trim_end; __u64 trim_minlen; - __u64 trimmed; }; /* |