From: Chao Yu Date: Wed, 26 Apr 2017 09:39:55 +0000 (+0800) Subject: f2fs: shrink size of struct discard_cmd X-Git-Tag: v5.15~11353^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9a744b92da6eacea33dec1e9280fd324736bfe81;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Jaegeuk Kim --- 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 */ };