summaryrefslogtreecommitdiff
path: root/fs/ceph/locks.c
diff options
context:
space:
mode:
authorXiubo Li <xiubli@redhat.com>2021-08-25 21:45:43 +0800
committerIlya Dryomov <idryomov@gmail.com>2021-09-02 22:49:17 +0200
commita6d37ccdd240e80f26aaea0e62cda310e0e184d7 (patch)
treef3207e33f07507894073adae7227fb2aa97bf776 /fs/ceph/locks.c
parentb11ed50346683a749632ea664959b28d524d7395 (diff)
ceph: remove the capsnaps when removing caps
capsnaps will take inode references via ihold when queueing to flush. When force unmounting, the client will just close the sessions and may never get a flush reply, causing a leak and inode ref leak. Fix this by removing the capsnaps for an inode when removing the caps. URL: https://tracker.ceph.com/issues/52295 Signed-off-by: Xiubo Li <xiubli@redhat.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/locks.c')
0 files changed, 0 insertions, 0 deletions