freebsd-nq/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 Define ext2fs local types and use them. 2013-08-13 15:40:43 +00:00
ext2_balloc.c Define ext2fs local types and use them. 2013-08-13 15:40:43 +00:00
ext2_bmap.c Define ext2fs local types and use them. 2013-08-13 15:40:43 +00:00
ext2_dinode.h ext2fs: add two new reserved inodes. 2013-12-04 02:27:52 +00:00
ext2_dir.h Initial implementation of the HTree directory index. 2013-07-06 18:28:06 +00:00
ext2_extents.c Add read-only support for extents in ext2fs. 2013-08-12 21:34:48 +00:00
ext2_extents.h Add read-only support for extents in ext2fs. 2013-08-12 21:34:48 +00:00
ext2_extern.h Define ext2fs local types and use them. 2013-08-13 15:40:43 +00:00
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 Define ext2fs local types and use them. 2013-08-13 15:40:43 +00:00
ext2_lookup.c ext2fs: temporarily disable htree directory index. 2013-09-07 02:45:51 +00:00
ext2_mount.h
ext2_subr.c ext2fs: update format specifiers for ext4 type. 2013-08-14 14:22:46 +00:00
ext2_vfsops.c Add read-only support for extents in ext2fs. 2013-08-12 21:34:48 +00:00
ext2_vnops.c UFS2: make di_extsize unsigned. 2013-10-24 00:33:29 +00:00
ext2fs.h Add read-only support for extents in ext2fs. 2013-08-12 21:34:48 +00:00
fs.h Define and use e2fs_lbn_t in ext2fs. 2013-06-23 02:44:42 +00:00
htree.h Initial implementation of the HTree directory index. 2013-07-06 18:28:06 +00:00
inode.h Define ext2fs local types and use them. 2013-08-13 15:40:43 +00:00