summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/f2fs.h
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2017-10-28 16:52:32 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2017-11-05 16:41:56 -0800
commit0ea805129d1bc5dacb588392d191f686c91a70bb (patch)
tree152f3e4f4422194e16f98428a87dbd732be87938 /fs/f2fs/f2fs.h
parentd62fe971485f15fa08fec2a75ac4e4ffead40a5a (diff)
downloadlinux-0ea805129d1bc5dacb588392d191f686c91a70bb.tar.bz2
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.h1
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;
};
/*