Home
last modified time | relevance | path

Searched hist:d870b4a1 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/
H A Dnamei.cd870b4a1 Fri Nov 29 00:48:32 CST 2013 Al Viro <viro@zeniv.linux.org.uk> fix bogus path_put() of nd->root after some unlazy_walk() failures

Failure to grab reference to parent dentry should go through the
same cleanup as nd->seq mismatch. As it is, we might end up with
caller thinking it needs to path_put() nd->root, with obvious
nasty results once we'd hit that bug enough times to drive the
refcount of root dentry all the way to zero...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
d870b4a1 Fri Nov 29 00:48:32 CST 2013 Al Viro <viro@zeniv.linux.org.uk> fix bogus path_put() of nd->root after some unlazy_walk() failures

Failure to grab reference to parent dentry should go through the
same cleanup as nd->seq mismatch. As it is, we might end up with
caller thinking it needs to path_put() nd->root, with obvious
nasty results once we'd hit that bug enough times to drive the
refcount of root dentry all the way to zero...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>