]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
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 dfb4b93614ff5e046b3a2892ccc6f742fe069fe0..d342c6907244cc62845d44bfee4ba3df35578a53 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;