1
0
Fork 0

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>
hifive-unleashed-5.1
Chao Yu 2017-04-26 17:39:55 +08:00 committed by Jaegeuk Kim
parent ec9895add2
commit 9a744b92da
1 changed files with 1 additions and 1 deletions

View File

@ -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 */
};