dquot: For now explicitly don't support filesystems outside of init_user_ns
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 5 Jul 2016 15:41:57 +0000 (10:41 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 5 Jul 2016 20:12:39 +0000 (15:12 -0500)
commit5c0048280babd579fa9e5f0e787122b06aee3f3b
tree9e24c77e8f6a9484f67592fab164e14931caffd4
parentcfd4c70a18c4e806aaac2f483153dae01e0ace1c
dquot: For now explicitly don't support filesystems outside of init_user_ns

Mostly supporting filesystems outside of init_user_ns is
s/&init_usre_ns/dquot->dq_sb->s_user_ns/.  An actual need for
supporting quotas on filesystems outside of s_user_ns is quite a ways
away and to be done responsibily needs an audit on what can happen
with hostile quota files.  Until that audit is complete don't attempt
to support quota files on filesystems outside of s_user_ns.

Cc: Jan Kara <jack@suse.cz>
Acked-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
fs/quota/dquot.c