aboutsummaryrefslogtreecommitdiff
path: root/fs/ubifs
diff options
context:
space:
mode:
authorAdrian Hunter <ext-adrian.hunter@nokia.com>2008-07-23 15:23:11 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-08-13 11:30:04 +0300
commitbc813355c704e5916a86dd4b96fd226bfa3fc6ca (patch)
tree9a130ba25918ab0f0a0e729b76dc3f0afc054027 /fs/ubifs
parentde94eb558b542873d3f6f9ede1b8575fb5662248 (diff)
UBIFS: do not union creat_sqnum and del_cmtno
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>
Diffstat (limited to 'fs/ubifs')
-rw-r--r--fs/ubifs/ubifs.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h
index dfb4b93614f..d342c690724 100644
--- 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;