]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r260988, r261034, r261120, r261235:
authorpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 31 Jan 2014 03:58:36 +0000 (03:58 +0000)
committerpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 31 Jan 2014 03:58:36 +0000 (03:58 +0000)
commit73a2e96eb505fde4673caa084f5e70676eaf5066
tree75f6ebd58a5b55ad7bca7724e55f6cb03431e841
parent5e512b1b606eb66becd51ebba5fd45327d3e1d91
MFC r260988, r261034, r261120,  r261235:

ext2fs: Properly the EXT4_EXTENTS and EXT4_INDEX to the inode flags.

In order to support Ext4 extents we need to pass the Ext4 inode flags
without interfering with the chflags. This is better done by using the
i_flag field in the inode and doing proper translation to the linux
ext4 equivalents.

Solve a potential corruption issue in the dirindex code. The dirindex
code can now be renabled as the problems related to it have been
solved.

Suggested by: bde
Tested by: kevlo

git-svn-id: svn://svn.freebsd.org/base/stable/10@261311 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/ext2fs/ext2_bmap.c
sys/fs/ext2fs/ext2_dinode.h
sys/fs/ext2fs/ext2_htree.c
sys/fs/ext2fs/ext2_inode_cnv.c
sys/fs/ext2fs/ext2_lookup.c
sys/fs/ext2fs/ext2_subr.c
sys/fs/ext2fs/ext2_vfsops.c
sys/fs/ext2fs/ext2_vnops.c
sys/fs/ext2fs/inode.h