diff options
author | bde <bde@FreeBSD.org> | 2000-03-03 08:00:27 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2000-03-03 08:00:27 +0000 |
commit | f65ec8e11c58da643a6549059860b51d2435f3b2 (patch) | |
tree | 1c6f8ad31f20a7a424cc57521069a5771e5cbdbc /sys/gnu/ext2fs/ext2_lookup.c | |
parent | 891b0548a23b2f2c09ad656227248f5216eedd44 (diff) | |
download | FreeBSD-src-f65ec8e11c58da643a6549059860b51d2435f3b2.zip FreeBSD-src-f65ec8e11c58da643a6549059860b51d2435f3b2.tar.gz |
MFS (ext2_lookup.c 1.17.2.2, ext2_vnops.c 1.42.2.2: fix "filetype" support).
Approved by: jkh
Diffstat (limited to 'sys/gnu/ext2fs/ext2_lookup.c')
-rw-r--r-- | sys/gnu/ext2fs/ext2_lookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/gnu/ext2fs/ext2_lookup.c b/sys/gnu/ext2fs/ext2_lookup.c index 79eb7cd..985dcf3 100644 --- a/sys/gnu/ext2fs/ext2_lookup.c +++ b/sys/gnu/ext2fs/ext2_lookup.c @@ -1039,7 +1039,7 @@ ext2_checkpath(source, target, cred) IO_NODELOCKED, cred, (int *)0, (struct proc *)0); if (error != 0) break; - namlen = ((struct odirtemplate *)&dirbuf)->dotdot_namlen; /* XXX */ + namlen = dirbuf.dotdot_type; /* like ufs little-endian */ if (namlen != 2 || dirbuf.dotdot_name[0] != '.' || dirbuf.dotdot_name[1] != '.') { |