ceph: fix dentry reference leak in encode_fh()
authorDavid Zafman <david.zafman@inktank.com>
Thu, 18 Oct 2012 21:01:43 +0000 (14:01 -0700)
committerAlex Elder <elder@inktank.com>
Fri, 26 Oct 2012 21:34:53 +0000 (16:34 -0500)
commit0f9831a89310cebba52d3f526e6cc5c2e403e6f1
tree0352d9dbe02f87b77c7c8d8dbde0557ee022c016
parent35152979e6181b1fbb4b61c3ff641c14df53ad66
ceph: fix dentry reference leak in encode_fh()

Call to d_find_alias() needs a corresponding dput()

This fixes http://tracker.newdream.net/issues/3271

Signed-off-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
fs/ceph/export.c