ceph: fix missing dput in ceph_set_acl
authorSage Weil <sage@inktank.com>
Fri, 31 Jan 2014 15:25:25 +0000 (07:25 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 31 Jan 2014 16:14:06 +0000 (08:14 -0800)
commit77516dc92a14bb3853df959c0cb3ef51e659f5af
tree57f75022e461782f61b28280c6f12c602b19d398
parente7651b819e90da924991d727d3c007200a18670d
ceph: fix missing dput in ceph_set_acl

Add matching dput() for d_find_alias().  Move d_find_alias() down a bit
at Julia's suggestion.

[ Introduced by commit 72466d0b92e0: "ceph: fix posix ACL hooks" ]

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ceph/acl.c