From: Christoph Hellwig Date: Mon, 23 Apr 2012 05:58:32 +0000 (+1000) Subject: xfs: remove log item from AIL in xfs_iflush after a shutdown X-Git-Tag: v3.5-rc1~91^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32ce90a4b79155a155de2b284d8b69023e5e8fea;p=pandora-kernel.git xfs: remove log item from AIL in xfs_iflush after a shutdown If a filesystem has been forced shutdown we are never going to write inodes to disk, which means the inode items will stay in the AIL until we free the inode. Currently that is not a problem, but a pending change requires us to empty the AIL before shutting down the filesystem. In that case leaving the inode in the AIL is lethal. Make sure to remove the log item from the AIL to allow emptying the AIL on shutdown filesystems. Signed-off-by: Christoph Hellwig Reviewed-by: Dave Chinner Reviewed-by: Mark Tinguely Signed-off-by: Ben Myers --- Reading git-diff-tree failed