]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
quota: Handle quota data stored in s_user_ns in quota_setxquota
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 5 Jul 2016 16:10:57 +0000 (11:10 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 5 Jul 2016 20:12:20 +0000 (15:12 -0500)
commitcfd4c70a18c4e806aaac2f483153dae01e0ace1c
treecb20e51efdcf598e85bc81194adf73dcf0b23f1c
parentd49d37624a1931c2f3b5d0cbe95bd5181cbdc279
quota: Handle quota data stored in s_user_ns in quota_setxquota

In Q_XSETQLIMIT use sb->s_user_ns to detect when we are dealing with
the filesystems notion of id 0.

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