Skip to content

Commit

Permalink
UBIFS: do not union creat_sqnum and del_cmtno
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Hunter authored and Artem Bityutskiy committed Aug 13, 2008
1 parent de94eb5 commit bc81335
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions fs/ubifs/ubifs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bc81335

Please sign in to comment.