]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: fix access to upper inodes without inode64
authorChristoph Hellwig <hch@infradead.org>
Fri, 28 May 2010 19:03:10 +0000 (19:03 +0000)
committerAlex Elder <aelder@sgi.com>
Fri, 28 May 2010 20:19:56 +0000 (15:19 -0500)
commit3f2de37e39f0ec5c321298c60739b37246501b25
tree42486eb1c674ba2d76b719109e21a54a7df7b8fc
parent42d588bf15f149da6a57cdc7e430e50f4c7e8b8d
xfs: fix access to upper inodes without inode64

If a filesystem is mounted without the inode64 mount option we
should still be able to access inodes not fitting into 32 bits, just
not created new ones.  For this to work we need to make sure the
inode cache radix tree is initialized for all allocation groups, not
just those we plan to allocate inodes from.  This patch makes sure
we initialize the inode cache radix tree for all allocation groups,
and also cleans xfs_initialize_perag up a bit to separate the
inode32 logical from the general perag structure setup.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/linux-2.6/xfs_sync.c
fs/xfs/xfs_ag.h
fs/xfs/xfs_iget.c
fs/xfs/xfs_inode.c
fs/xfs/xfs_mount.c