projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de94eb5
)
UBIFS: do not union creat_sqnum and del_cmtno
author
Adrian Hunter
<ext-adrian.hunter@nokia.com>
Wed, 23 Jul 2008 12:23:11 +0000
(15:23 +0300)
committer
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Wed, 13 Aug 2008 08:30:04 +0000
(11:30 +0300)
The values in these two fields need to be preserved independently
and so a union cannot be used.
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
fs/ubifs/ubifs.h
patch
|
blob
|
blame
|
history
diff --git
a/fs/ubifs/ubifs.h
b/fs/ubifs/ubifs.h
index dfb4b93614ff5e046b3a2892ccc6f742fe069fe0..d342c6907244cc62845d44bfee4ba3df35578a53 100644
(file)
--- a/
fs/ubifs/ubifs.h
+++ b/
fs/ubifs/ubifs.h
@@
-374,10
+374,8
@@
struct ubifs_gced_idx_leb {
*/
struct ubifs_inode {
struct inode vfs_inode;
- union {
- unsigned long long creat_sqnum;
- unsigned long long del_cmtno;
- };
+ unsigned long long creat_sqnum;
+ unsigned long long del_cmtno;
unsigned int xattr_size;
unsigned int xattr_cnt;
unsigned int xattr_names;