commit | 77e69dac3cefacee939cb107ae9cd520a62338e0 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Fri Aug 01 04:29:18 2008 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Fri Aug 01 11:25:25 2008 -0400 |
tree | 02ddee5ac85ceb632eab2aff994ffbd3233e51eb | |
parent | 1b7e190b4764ea3ca1080404dd593eae5230d2b3 [diff] |
[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: Al Viro <viro@zeniv.linux.org.uk>