From: Al Viro Date: Fri, 1 Aug 2008 08:29:18 +0000 (-0400) Subject: [PATCH] fix races and leaks in vfs_quota_on() users X-Git-Tag: v2.6.27-rc2~105^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77e69dac3cefacee939cb107ae9cd520a62338e0;p=pandora-kernel.git [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 --- Reading git-diff-tree failed