]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: start periodic workers later
authorChristoph Hellwig <hch@infradead.org>
Tue, 18 Oct 2011 14:23:15 +0000 (10:23 -0400)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 19:17:05 +0000 (11:17 -0800)
commit1784a64e6a4284860839d7436168d8b925d9ec5c
tree1fe401dea9851f444ba0978f1efa101bbfbd0df8
parente986def7c4b5d6e6ee941327c903807e922254fc
xfs: start periodic workers later

commit 2bcf6e970f5a88fa05dced5eeb0326e13d93c4a1 upstream

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/xfs/linux-2.6/xfs_super.c