]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
vfs: fix dentry leak in simple_fill_super()
authorKonstantin Khlebnikov <khlebnikov@openvz.org>
Tue, 1 Nov 2011 13:12:33 +0000 (16:12 +0300)
committerChristoph Hellwig <hch@serles.lst.de>
Wed, 2 Nov 2011 11:53:42 +0000 (12:53 +0100)
commit32096ea1aac14e6f29d4744924092eca52b937b0
tree2ecb3df822078e38d85c1e5a1b82aaf3a70c879d
parent994c0e992522c123298b4a91b72f5e67ba2d1123
vfs: fix dentry leak in simple_fill_super()

put dentry if inode allocation failed, d_genocide() cannot release it

Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/libfs.c