MFC r252397, r258904, r259780:
authorpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 26 Dec 2013 01:11:51 +0000 (01:11 +0000)
committerpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 26 Dec 2013 01:11:51 +0000 (01:11 +0000)
commit8c8b4bcd5a80a5a7857b6fe5e8a320eefe4ebd5d
tree138acc7a8a63e46775963d12d2dc48783b0cf375
parentd7d4158d0c2c9873bb2faef9fade9dcac789223d
MFC r252397, r258904, r259780:
Small ext2fs updates.

Use the unsigned random() range in i_gen.
Add two new reserved inodes.
Make the hashing algorithm match the linux code.

PR: kern/183230

git-svn-id: svn://svn.freebsd.org/base/stable/9@259903 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/ext2fs/ext2_dinode.h
sys/fs/ext2fs/ext2_hash.c
sys/fs/ext2fs/ext2_vfsops.c