diff options
author | Yan, Zheng <zyan@redhat.com> | 2019-10-01 17:24:25 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-05 13:10:02 +0200 |
commit | e9bcaf82dd373545a8c2acce6f2f78ad2c522808 (patch) | |
tree | 2ca972b15f552bc6e3e3956eb13e29694892a452 /sound/pci | |
parent | 72f0fff3c450200f62bf8f6dd12033be35217d6f (diff) | |
download | linux-stable-e9bcaf82dd373545a8c2acce6f2f78ad2c522808.tar.gz linux-stable-e9bcaf82dd373545a8c2acce6f2f78ad2c522808.tar.bz2 linux-stable-e9bcaf82dd373545a8c2acce6f2f78ad2c522808.zip |
ceph: use ceph_evict_inode to cleanup inode's resource
[ Upstream commit 87bc5b895d94a0f40fe170d4cf5771c8e8f85d15 ]
remove_session_caps() relies on __wait_on_freeing_inode(), to wait for
freeing inode to remove its caps. But VFS wakes freeing inode waiters
before calling destroy_inode().
[ jlayton: mainline moved to ->free_inode before the original patch was
merged. This backport reinstates ceph_destroy_inode and just
has it do the call_rcu call. ]
Cc: stable@vger.kernel.org
Link: https://tracker.ceph.com/issues/40102
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions