Skip to content
Commit 8f9e8f5f authored by Jan Kara's avatar Jan Kara
Browse files

ocfs2: Fix Q_GETNEXTQUOTA for filesystem without quotas



When Q_GETNEXTQUOTA was called for filesystem with quotas disabled
ocfs2_get_next_id() oopses. Fix the problem by checking early whether
the filesystem has quotas enabled.

Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 17e8a893
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment