[PATCH 2/2] f2fs: shrink size of struct discard_cmd

From: Chao Yu
Date: Wed Apr 26 2017 - 05:49:20 EST


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@xxxxxxxxxx>
---
fs/f2fs/f2fs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index e0c8e0074224..914b5c64cfae 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 */
};

--
2.12.2.510.ge1104a5ee539