freebsd-dev/sys/fs/ext2fs
Pedro F. Giffuni c2e2b77b19 ext2fs: fix inode flag conversion.
After r252890 we are naively attempting to pass through the
inode flags.  This is technically incorrect as the ext2
inode flags don't match the UFS/system values used in
FreeBSD and a clean conversion is needed.

Some filtering was left in place so the change didn't cause
significant changes in FreeBSD but some of the garbage passed
is likely to be the cause for warning messages in linux.

Fix the issue by resetting the flags before conversion as was
done previously. This also means we will not pass the EXT4_*
inode flags into FreeBSD's inode.

PR:		kern/185448
MFC after:	3 days
2014-01-11 15:19:04 +00:00
..
ext2_alloc.c
ext2_balloc.c
ext2_bmap.c
ext2_dinode.h ext2fs: add two new reserved inodes. 2013-12-04 02:27:52 +00:00
ext2_dir.h
ext2_extents.c
ext2_extents.h
ext2_extern.h
ext2_hash.c ext2fs: make the hashing algorithm match the linux code. 2013-12-23 19:47:34 +00:00
ext2_htree.c ext2fs: temporarily disable htree directory index. 2013-09-07 02:45:51 +00:00
ext2_inode_cnv.c ext2fs: fix inode flag conversion. 2014-01-11 15:19:04 +00:00
ext2_inode.c
ext2_lookup.c ext2fs: temporarily disable htree directory index. 2013-09-07 02:45:51 +00:00
ext2_mount.h
ext2_subr.c
ext2_vfsops.c
ext2_vnops.c UFS2: make di_extsize unsigned. 2013-10-24 00:33:29 +00:00
ext2fs.h
fs.h
htree.h
inode.h