Forráskód Böngészése

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>
Adrian Hunter 17 éve
szülő
commit
bc813355c7
1 módosított fájl, 2 hozzáadás és 4 törlés
  1. 2 4
      fs/ubifs/ubifs.h

+ 2 - 4
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;