summaryrefslogtreecommitdiffstats
path: root/sys/fs/ext2fs/ext2_htree.c
diff options
context:
space:
mode:
authorkaiw <kaiw@FreeBSD.org>2014-01-28 19:12:31 +0000
committerkaiw <kaiw@FreeBSD.org>2014-01-28 19:12:31 +0000
commit9c3c6fdae0b43f1bbd5486754c20e403fc83c3b6 (patch)
treec000f1bf7a21df619e5cc1ac52b3edc991b884d0 /sys/fs/ext2fs/ext2_htree.c
parent0fb1cfad9518e33fe20de1d9d694d0d5c2044fa2 (diff)
parent17e24564634134c9b7145fcf8d1c7d51b93c3182 (diff)
downloadFreeBSD-src-9c3c6fdae0b43f1bbd5486754c20e403fc83c3b6.zip
FreeBSD-src-9c3c6fdae0b43f1bbd5486754c20e403fc83c3b6.tar.gz
MFH@261240.
Diffstat (limited to 'sys/fs/ext2fs/ext2_htree.c')
-rw-r--r--sys/fs/ext2fs/ext2_htree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/ext2fs/ext2_htree.c b/sys/fs/ext2fs/ext2_htree.c
index 5cfec52..34af8ae 100644
--- a/sys/fs/ext2fs/ext2_htree.c
+++ b/sys/fs/ext2fs/ext2_htree.c
@@ -90,7 +90,7 @@ int
ext2_htree_has_idx(struct inode *ip)
{
if (EXT2_HAS_COMPAT_FEATURE(ip->i_e2fs, EXT2F_COMPAT_DIRHASHINDEX) &&
- ip->i_flags & E4_INDEX)
+ ip->i_flag & IN_E4INDEX)
return (1);
else
return (0);
@@ -654,7 +654,7 @@ ext2_htree_create_index(struct vnode *vp, struct componentname *cnp,
((char *)ep + ep->e2d_reclen);
ep->e2d_reclen = buf1 + blksize - (char *)ep;
- dp->i_flags |= E4_INDEX;
+ dp->i_flag |= IN_E4INDEX;
/*
* Initialize index root.
OpenPOWER on IntegriCloud