summaryrefslogtreecommitdiff
path: root/fs/ocfs2/quota_global.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2016-03-29 18:20:10 +0300
committerJan Kara <jack@suse.cz>2016-03-29 18:20:10 +0300
commit17e8a8936c3f28085a858e65baee90dff5e8d48b (patch)
tree6ad1c88a92c84e90bf23c719d467eb198412e1a1 /fs/ocfs2/quota_global.c
parent1993b176a8224e371e0732ffada7ab9eb3b0912b (diff)
downloadlinux-17e8a8936c3f28085a858e65baee90dff5e8d48b.tar.xz
quota: Handle Q_GETNEXTQUOTA when quota is disabled
Currently we oopsed when Q_GETNEXTQUOTA got called when quota was disabled. Properly check whether quota is enabled for the filesystem before calling into quota format handler. Reported-by: Ted Tso <tytso@mit.edu> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ocfs2/quota_global.c')
0 files changed, 0 insertions, 0 deletions