freebsd-nq/sys/fs
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
..
cd9660 NULL stale pointers (should be a no-op as they should no longer be 2013-09-25 02:49:18 +00:00
deadfs The deadfs VOPs for vop_ioctl and vop_bmap call itself recursively, 2012-09-13 13:05:45 +00:00
devfs Fix long known bug with handling device aliases residing not in devfs root. 2013-12-12 11:05:48 +00:00
ext2fs ext2fs: fix inode flag conversion. 2014-01-11 15:19:04 +00:00
fdescfs Handle cases where capability rights are not provided. 2013-09-05 11:58:12 +00:00
fifofs Do not allow O_EXEC opens for fifo, return EINVAL. 2013-12-17 17:28:02 +00:00
fuse Change the cap_rights_t type from uint64_t to a structure that we can extend 2013-09-05 00:09:56 +00:00
msdosfs Expand the use of stat(2) flags to allow storing some Windows/DOS 2013-08-21 23:04:48 +00:00
nandfs - Convert the bufobj lock to rwlock. 2013-05-31 00:43:41 +00:00
nfs Rework NFS Duplicate Request Cache cleanup logic. 2014-01-03 15:09:59 +00:00
nfsclient The NFSv4 client was passing both the p and cred arguments to 2013-12-24 00:48:39 +00:00
nfsserver Fix off-by-one error in r260229. 2014-01-07 11:43:51 +00:00
nullfs Fix the length calculation for the final block of a sendfile(2) 2013-09-10 10:05:59 +00:00
procfs Relax the vm object locking. Use a read lock. 2013-06-05 17:00:10 +00:00
pseudofs Redo r258088 to avoid relying on signed arithmetic overflow, since 2013-11-20 19:41:00 +00:00
smbfs Expand the use of stat(2) flags to allow storing some Windows/DOS 2013-08-21 23:04:48 +00:00
tmpfs Support storing 7 additional file flags in tmpfs: 2013-08-28 22:12:56 +00:00
udf Add currently unused flag argument to the cluster_read(), 2013-03-14 20:28:26 +00:00
unionfs r16312 is not any longer real since many years (likely since when VFS 2012-11-19 22:43:45 +00:00