summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2014-04-03 14:46:54 -0700
committerJiri Slaby <jslaby@suse.cz>2014-06-27 10:25:24 +0200
commit2eb0658fb6525f85a6386e1b7cc8bd7066ed1281 (patch)
treecc7f4660606372ff67facbe53ce027536e324ab6 /include
parent34b6c0490bfa372876e6907eee779c5cd0e89963 (diff)
ocfs2: move dquot_initialize() in ocfs2_delete_inode() somewhat later
commit bd62ad7aebd8e8895bb7649ace948040332f27d3 upstream. 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 <jack@suse.cz> Reviewed-by: Mark Fasheh <mfasheh@suse.de> Reviewed-by: Srinivas Eeda <srinivas.eeda@oracle.com> Cc: Joel Becker <jlbec@evilplan.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions