diff options
author | Jan Kara <jack@suse.cz> | 2016-03-29 17:44:11 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2016-03-29 17:44:11 +0200 |
commit | 8f9e8f5fcc059a3cba87ce837c88316797ef3645 (patch) | |
tree | 70c0a92b5227dd17aedb00bd4addc73ff61d7d96 /fs/xfs/libxfs/xfs_bmap.c | |
parent | quota: Handle Q_GETNEXTQUOTA when quota is disabled (diff) | |
download | linux-8f9e8f5fcc059a3cba87ce837c88316797ef3645.tar.xz linux-8f9e8f5fcc059a3cba87ce837c88316797ef3645.zip |
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: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/xfs/libxfs/xfs_bmap.c')
0 files changed, 0 insertions, 0 deletions