Skip to content
Commit 77e69dac authored by Al Viro's avatar Al Viro
Browse files

[PATCH] fix races and leaks in vfs_quota_on() users



* new helper: vfs_quota_on_path(); equivalent of vfs_quota_on() sans the
  pathname resolution.
* callers of vfs_quota_on() that do their own pathname resolution and
  checks based on it are switched to vfs_quota_on_path(); that way we
  avoid the races.
* reiserfs leaked dentry/vfsmount references on several failure exits.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 1b7e190b
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