projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adfc694
)
f2fs: fix memory alignment to support 32bit
author
Jaegeuk Kim
<jaegeuk@kernel.org>
Wed, 7 Oct 2020 18:14:35 +0000
(11:14 -0700)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Fri, 9 Oct 2020 04:24:40 +0000
(21:24 -0700)
In 32bit system, 64-bits key breaks memory alignment.
This fixes the commit "f2fs: support 64-bits key in f2fs rb-tree node entry".
Reported-by: Nicolas Chauvet <kwizart@gmail.com>
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h
patch
|
blob
|
history
diff --git
a/fs/f2fs/f2fs.h
b/fs/f2fs/f2fs.h
index
61fd78b
..
ae46d44
100644
(file)
--- a/
fs/f2fs/f2fs.h
+++ b/
fs/f2fs/f2fs.h
@@
-619,7
+619,7
@@
struct rb_entry {
unsigned int len; /* length of the entry */
};
unsigned long long key; /* 64-bits key */
- };
+ }
__packed
;
};
struct extent_info {