commit | efe328230dc01aa0b1269aad0b5fae73eea4677a | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Thu Sep 27 21:16:05 2018 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Oct 22 10:28:20 2018 +0200 |
tree | 2b3aba69fa8d3ebe9f14a2997dee680768b0e26a | |
parent | 5da207993e396f445d813338dd3540ddd6d26816 [diff] |
Revert "ceph: fix dentry leak in splice_dentry()" This reverts commit 8b8f53af1ed9df88a4c0fbfdf3db58f62060edf3. splice_dentry() is used by three places. For two places, req->r_dentry is passed to splice_dentry(). In the case of error, req->r_dentry does not get updated. So splice_dentry() should not drop reference. Cc: stable@vger.kernel.org # 4.18+ Signed-off-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>