ceph: fix dentry reference leak in ceph_encode_fh().
authorCyril Roelandt <tipecaml@gmail.com>
Tue, 20 Nov 2012 16:23:07 +0000 (10:23 -0600)
committerAlex Elder <elder@inktank.com>
Thu, 13 Dec 2012 14:13:06 +0000 (08:13 -0600)
commitcfc84c9f73ab8a6933bd4f36efac1196cddad581
tree94992a63a3abcf3a04eb2340d895470fb402d663
parent22cddde104d715600a4c218bf9224923208afe90
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>
Reviewed-by: Alex Elder <elder@inktank.com>
fs/ceph/export.c