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>
This commit is contained in:
Adrian Hunter 2008-07-23 15:23:11 +03:00 committed by Artem Bityutskiy
parent de94eb558b
commit bc813355c7

View 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;