]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: fix dentry reference leak in ceph_encode_fh()
authorCyril Roelandt <tipecaml@gmail.com>
Tue, 18 Dec 2012 22:21:23 +0000 (14:21 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 23:02:11 +0000 (15:02 -0800)
commit41d1e5d8c6bfe14e6581436581b2a612c391d993
tree5d73ddf996763783ad8e65d6754cfba0cd478af6
parente5ee637d84fc47b1d2d837abe0a36fe8e8e6e97b
ceph: fix dentry reference leak in ceph_encode_fh()

dput() was not called in the error path.

Signed-off-by: Cyril Roelandt <tipecaml@gmail.com>
Cc: Sage Weil <sage@inktank.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ceph/export.c