]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r198940:
authorjh <jh@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 4 Jan 2010 14:35:36 +0000 (14:35 +0000)
committerjh <jh@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 4 Jan 2010 14:35:36 +0000 (14:35 +0000)
commit099bc4360f1b63aa0ccefa498dea70b7036849d1
treef6c507c82f5c8999877ea98f1292da3b4a9e7576
parent65e0272ed399a75acfa7c552b98251126000568f
MFC r198940:

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
Approved by: trasz (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@201497 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/gnu/fs/ext2fs/ext2_inode_cnv.c
sys/gnu/fs/ext2fs/ext2_vnops.c