]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xfs: start periodic workers later
authorChristoph Hellwig <hch@lst.de>
Wed, 13 Jul 2011 11:43:48 +0000 (13:43 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 13 Jul 2011 11:43:48 +0000 (13:43 +0200)
commit2bcf6e970f5a88fa05dced5eeb0326e13d93c4a1
tree5fb3e326ee8b06272490806fe493168299c3245a
parentb2ce39740066604288876c752d8170b3b17a21aa
xfs: start periodic workers later

Start the periodic sync workers only after we have finished xfs_mountfs
and thus fully set up the filesystem structures.  Without this we can
call into xfs_qm_sync before the quotainfo strucute is set up if the
mount takes unusually long, and probably hit other incomplete states
as well.

Also clean up the xfs_fs_fill_super error path by using consistent
label names, and removing an impossible to reach case.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Arkadiusz Miskiewicz <arekm@maven.pl>
Reviewed-by: Alex Elder <aelder@sgi.com>
fs/xfs/linux-2.6/xfs_super.c