]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
UBUNTU: SAUCE: quota: Require that qids passed to dqget() be valid and map into s_user_ns
authorSeth Forshee <seth.forshee@canonical.com>
Fri, 25 Mar 2016 16:11:46 +0000 (11:11 -0500)
committerTim Gardner <tim.gardner@canonical.com>
Wed, 6 Apr 2016 09:29:53 +0000 (10:29 +0100)
commit2c79b9bf3b1bd1c629fd7d86103ea87d7ff16d00
tree57afb6b119d8d86227b3eb39bbe02f7986755b06
parent60f308a4ce46122d946928af6ce9de2f27afad09
UBUNTU: SAUCE: quota: Require that qids passed to dqget() be valid and map into s_user_ns

BugLink: http://bugs.launchpad.net/bugs/1566505
This ensures that quotas that aren't valid on disk never make it
into the hash table. inodes with ids which don't map into
s_user_ns will now have no quota enforcement.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
fs/quota/dquot.c