summaryrefslogtreecommitdiffstats
path: root/fs/hpfs/dir.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/dir.c
parent4085e155b14a89ee36f7bfc5bd07294b0c34b0e6 (diff)
downloadtalos-obmc-linux-c4c995430a94e7d94526fcb347c4ba4b2ae82500.tar.gz
talos-obmc-linux-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/dir.c')
-rw-r--r--fs/hpfs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hpfs/dir.c b/fs/hpfs/dir.c
index 2fa0089a02a8..b8472f803f4e 100644
--- a/fs/hpfs/dir.c
+++ b/fs/hpfs/dir.c
@@ -87,7 +87,7 @@ static int hpfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
ret = -EIOERROR;
goto out;
}
- if (!fno->dirflag) {
+ if (!fnode_is_dir(fno)) {
e = 1;
hpfs_error(inode->i_sb, "not a directory, fnode %08lx",
(unsigned long)inode->i_ino);
OpenPOWER on IntegriCloud