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)
committerSage Weil <sage@inktank.com>
Mon, 29 Oct 2012 15:17:10 +0000 (08:17 -0700)
commit52eb5a900a9863a8b77a895f770e5d825c8e02c6
tree91e120e6a3625b6bb8db3cc71af8c622d9a94b7b
parent9bd952615a42d7e2ce3fa2c632e808e804637a1a
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