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>
This commit is contained in:
parent
7ec84ed608
commit
0756d8f798
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,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 */
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue