aboutsummaryrefslogtreecommitdiffstats
path: root/fs/hpfs/dnode.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/dnode.c
parenthpfs: get rid of bitfields endianness wanking in extended_attribute (diff)
downloadlinux-dev-c4c995430a94e7d94526fcb347c4ba4b2ae82500.tar.xz
linux-dev-c4c995430a94e7d94526fcb347c4ba4b2ae82500.zip
hpfs: get rid of bitfields in struct fnode
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/hpfs/dnode.c')
-rw-r--r--fs/hpfs/dnode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hpfs/dnode.c b/fs/hpfs/dnode.c
index 1e0e2ac30fd3..6bf9fdeba6f2 100644
--- a/fs/hpfs/dnode.c
+++ b/fs/hpfs/dnode.c
@@ -1015,7 +1015,7 @@ struct hpfs_dirent *map_fnode_dirent(struct super_block *s, fnode_secno fno,
kfree(name2);
return NULL;
}
- if (!upf->dirflag) {
+ if (!fnode_is_dir(upf)) {
brelse(bh);
hpfs_error(s, "fnode %08x has non-directory parent %08x", fno, le32_to_cpu(f->up));
kfree(name2);