]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit598277c171244e0cd202f01b1fcc47ed72e7cf01
tree57f75022e461782f61b28280c6f12c602b19d398
parent200147d5c43a10afc2b2dc9c71cae0db50bca2a1
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 54de9cae12bc: "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