UBIFS: do not union creat_sqnum and del_cmtno
authorAdrian Hunter <ext-adrian.hunter@nokia.com>
Wed, 23 Jul 2008 12:23:11 +0000 (15:23 +0300)
committerArtem 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

index dfb4b93..d342c69 100644 (file)
@@ -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;