From: Jan Kara Date: Thu, 3 Apr 2014 21:46:54 +0000 (-0700) Subject: ocfs2: move dquot_initialize() in ocfs2_delete_inode() somewhat later X-Git-Tag: v3.15-rc1~106^2~205 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd62ad7aebd8e8895bb7649ace948040332f27d3;p=pandora-kernel.git ocfs2: move dquot_initialize() in ocfs2_delete_inode() somewhat later Move dquot_initalize() call in ocfs2_delete_inode() after the moment we verify inode is actually a sane one to delete. We certainly don't want to initialize quota for system inodes etc. This also avoids calling into quota code from downconvert thread. Add more details into the comment why bailing out from ocfs2_delete_inode() when we are in downconvert thread is OK. Signed-off-by: Jan Kara Reviewed-by: Mark Fasheh Reviewed-by: Srinivas Eeda Cc: Joel Becker Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed