ext4: avoid calling dquot_get_next_id() if quota is not enabled
authorTheodore Ts'o <tytso@mit.edu>
Fri, 1 Apr 2016 16:00:03 +0000 (12:00 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 1 Apr 2016 16:00:03 +0000 (12:00 -0400)
commit8f0e8746b4d57303d84f7b161a201e94fe22638f
tree67526f43bcc7847531e7a8d2ff6fdd34c59543e4
parente84dfbe2bf170c626778079e5b94435b05b8d572
ext4: avoid calling dquot_get_next_id() if quota is not enabled

This should be fixed in the quota layer so we can test with the quota
mutex held, but for now, we need this to avoid tests from crashing the
kernel aborting the regression test suite.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c