ceph: add d_drop for some error cases in ceph_symlink()
authorChengguang Xu <cgxu519@gmx.com>
Mon, 9 Jul 2018 14:17:31 +0000 (22:17 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 2 Aug 2018 19:26:12 +0000 (21:26 +0200)
commit67fcd151400242757edbab710402161b2cd38989
treef79a21866b32d501afc05c3efaf643c5a2e7080d
parent0459871c4995d0bd57d6b1694f0971ec5cabafc1
ceph: add d_drop for some error cases in ceph_symlink()

When file num exceeds quota limit, should call d_drop to drop
dentry from cache as well.

Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/dir.c