diff options
author | Jan Kara <jack@suse.cz> | 2014-04-03 14:46:54 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-03 16:20:54 -0700 |
commit | bd62ad7aebd8e8895bb7649ace948040332f27d3 (patch) | |
tree | 76804b6ebfb371816066ad074b7f2af371740563 /fs/quota | |
parent | 7bf619c1425d5f03e33c744921f6251f4d0d745f (diff) | |
download | op-kernel-dev-bd62ad7aebd8e8895bb7649ace948040332f27d3.zip op-kernel-dev-bd62ad7aebd8e8895bb7649ace948040332f27d3.tar.gz |
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 <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>
Diffstat (limited to 'fs/quota')
0 files changed, 0 insertions, 0 deletions