summaryrefslogtreecommitdiffstats
path: root/fs
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
parentec9895add2c519681c45a8599262d1d9b4986349 (diff)
downloadop-kernel-dev-9a744b92da6eacea33dec1e9280fd324736bfe81.zip
op-kernel-dev-9a744b92da6eacea33dec1e9280fd324736bfe81.tar.gz
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')
-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 5759671..6f671c71 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 */
};
OpenPOWER on IntegriCloud