diff options
| author | Chao Yu <yuchao0@huawei.com> | 2017-04-26 17:39:55 +0800 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-05-21 18:43:27 +0200 |
| commit | 12cd7f8ad82e2787dbd54fba4b6fd5910f80cea2 (patch) | |
| tree | baf4c7655aac6e110131c3f8cea06aa78a864997 /fs | |
| parent | ddde1fbb01f91696ae48700932da22fb279339f2 (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')
| -rw-r--r-- | fs/f2fs/f2fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index ae3a28b43..c1bf4ef43 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -319,7 +319,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 */ }; |
