diff options
Diffstat (limited to 'fs/hpfs/inode.c')
| -rw-r--r-- | fs/hpfs/inode.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hpfs/inode.c b/fs/hpfs/inode.c index b43066cbdc6..ed671e0ea78 100644 --- a/fs/hpfs/inode.c +++ b/fs/hpfs/inode.c @@ -110,7 +110,7 @@ void hpfs_read_inode(struct inode *i)  			}  		}  	} -	if (fnode->dirflag) { +	if (fnode_is_dir(fnode)) {  		int n_dnodes, n_subdirs;  		i->i_mode |= S_IFDIR;  		i->i_op = &hpfs_dir_iops;  |