diff options
Diffstat (limited to 'fs/hpfs/dir.c')
-rw-r--r-- | fs/hpfs/dir.c | 2 |
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) | |||
87 | ret = -EIOERROR; | 87 | ret = -EIOERROR; |
88 | goto out; | 88 | goto out; |
89 | } | 89 | } |
90 | if (!fno->dirflag) { | 90 | if (!fnode_is_dir(fno)) { |
91 | e = 1; | 91 | e = 1; |
92 | hpfs_error(inode->i_sb, "not a directory, fnode %08lx", | 92 | hpfs_error(inode->i_sb, "not a directory, fnode %08lx", |
93 | (unsigned long)inode->i_ino); | 93 | (unsigned long)inode->i_ino); |