summaryrefslogtreecommitdiff
path: root/fs/f2fs/f2fs.h
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2017-04-26 17:39:55 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2017-05-02 21:19:51 -0700
commit9a744b92da6eacea33dec1e9280fd324736bfe81 (patch)
tree75058de20b4a4655d02dd686bf07bfb36a0373a8 /fs/f2fs/f2fs.h
parentec9895add2c519681c45a8599262d1d9b4986349 (diff)
f2fs: shrink size of struct discard_cmd
In order to shrink size of struct discard_cmd, change variable type of @state in struct discard_cmd from int to unsigned char. 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index 5759671fc948..6f671c719570 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -220,7 +220,7 @@ struct discard_cmd {
struct completion wait; /* compleation */
struct block_device *bdev; /* bdev */
unsigned short ref; /* reference count */
- int state; /* state */
+ unsigned char state; /* state */
int error; /* bio error */
};