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 b43066cbdc6a..ed671e0ea784 100644 --- a/fs/hpfs/inode.c +++ b/fs/hpfs/inode.c | |||
@@ -110,7 +110,7 @@ void hpfs_read_inode(struct inode *i) | |||
110 | } | 110 | } |
111 | } | 111 | } |
112 | } | 112 | } |
113 | if (fnode->dirflag) { | 113 | if (fnode_is_dir(fnode)) { |
114 | int n_dnodes, n_subdirs; | 114 | int n_dnodes, n_subdirs; |
115 | i->i_mode |= S_IFDIR; | 115 | i->i_mode |= S_IFDIR; |
116 | i->i_op = &hpfs_dir_iops; | 116 | i->i_op = &hpfs_dir_iops; |