commit | c4c995430a94e7d94526fcb347c4ba4b2ae82500 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Fri Apr 06 14:30:07 2012 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue May 29 23:28:37 2012 -0400 |
tree | 00dd49eb6252305e90106a375fc3fa12d25f4d1b | |
parent | 4085e155b14a89ee36f7bfc5bd07294b0c34b0e6 [diff] [blame] |
hpfs: get rid of bitfields in struct fnode Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/hpfs/namei.c b/fs/hpfs/namei.c index 30dd7b1..9083ef8 100644 --- a/fs/hpfs/namei.c +++ b/fs/hpfs/namei.c
@@ -70,7 +70,7 @@ fnode->len = len; memcpy(fnode->name, name, len > 15 ? 15 : len); fnode->up = cpu_to_le32(dir->i_ino); - fnode->dirflag = 1; + fnode->flags |= FNODE_dir; fnode->btree.n_free_nodes = 7; fnode->btree.n_used_nodes = 1; fnode->btree.first_free = cpu_to_le16(0x14);