summaryrefslogtreecommitdiffstats
path: root/fs/hpfs/map.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-04-06 14:30:07 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-05-29 23:28:37 -0400
commitc4c995430a94e7d94526fcb347c4ba4b2ae82500 (patch)
tree00dd49eb6252305e90106a375fc3fa12d25f4d1b /fs/hpfs/map.c
parent4085e155b14a89ee36f7bfc5bd07294b0c34b0e6 (diff)
downloadlinux-c4c995430a94e7d94526fcb347c4ba4b2ae82500.tar.bz2
hpfs: get rid of bitfields in struct fnode
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/hpfs/map.c')
-rw-r--r--fs/hpfs/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hpfs/map.c b/fs/hpfs/map.c
index a790821366a7..fffcb330694e 100644
--- a/fs/hpfs/map.c
+++ b/fs/hpfs/map.c
@@ -130,7 +130,7 @@ struct fnode *hpfs_map_fnode(struct super_block *s, ino_t ino, struct buffer_hea
(unsigned long)ino);
goto bail;
}
- if (!fnode->dirflag) {
+ if (!fnode_is_dir(fnode)) {
if ((unsigned)fnode->btree.n_used_nodes + (unsigned)fnode->btree.n_free_nodes !=
(fnode->btree.internal ? 12 : 8)) {
hpfs_error(s,