projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec9895a
)
f2fs: shrink size of struct discard_cmd
author
Chao Yu
<yuchao0@huawei.com>
Wed, 26 Apr 2017 09:39:55 +0000
(17:39 +0800)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Wed, 3 May 2017 04:19:51 +0000
(21:19 -0700)
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>
fs/f2fs/f2fs.h
patch
|
blob
|
blame
|
history
diff --git
a/fs/f2fs/f2fs.h
b/fs/f2fs/f2fs.h
index 5759671fc948bf180b160c8ccac5bff19e36b4b6..6f671c719570a6722d3e80b198b9904bec18fd6e 100644
(file)
--- 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 */
};