]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
File flags handling fixes for ext2fs:
authorJaakko Heinonen <jh@FreeBSD.org>
Thu, 5 Nov 2009 04:51:38 +0000 (04:51 +0000)
committerJaakko Heinonen <jh@FreeBSD.org>
Thu, 5 Nov 2009 04:51:38 +0000 (04:51 +0000)
commit5639f997b793c43361f7e824f70793ca405afb85
treed856134de48d0e8d86745d78c4b0347e34043bfc
parent2804a96a502283a0b41449bcfe2b049dbfc6dbae
File flags handling fixes for ext2fs:

- Disallow setting of flags not supported by ext2fs.
- Map EXT2_APPEND_FL to SF_APPEND.
- Map EXT2_IMMUTABLE_FL to SF_IMMUTABLE.
- Map EXT2_NODUMP_FL to UF_NODUMP.

Note that ext2fs doesn't support user settable append and immutable flags.
EXT2_NODUMP_FL is an user settable flag also on Linux.

PR: kern/122047
Reported by: Ighighi
Submitted by: Aditya Sarawgi (original version)
Reviewed by: bde
Approved by: trasz (mentor)
sys/gnu/fs/ext2fs/ext2_inode_cnv.c
sys/gnu/fs/ext2fs/ext2_vnops.c