summaryrefslogtreecommitdiffstats
path: root/fs/block_dev.c
diff options
context:
space:
mode:
authorAl Viro2008-08-01 10:29:18 +0200
committerAl Viro2008-08-01 17:25:25 +0200
commit77e69dac3cefacee939cb107ae9cd520a62338e0 (patch)
tree02ddee5ac85ceb632eab2aff994ffbd3233e51eb /fs/block_dev.c
parent[PATCH] clean dup2() up a bit (diff)
downloadkernel-qcow2-linux-77e69dac3cefacee939cb107ae9cd520a62338e0.tar.gz
kernel-qcow2-linux-77e69dac3cefacee939cb107ae9cd520a62338e0.tar.xz
kernel-qcow2-linux-77e69dac3cefacee939cb107ae9cd520a62338e0.zip
[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>
Diffstat (limited to 'fs/block_dev.c')
0 files changed, 0 insertions, 0 deletions