Re: [PATCH] ceph: fix inode and i_filelock_ref leak on file lock rollback

From: Daolong Zhang

Date: Sun Nov 22 2026 - 20:22:31 EST


Hi Alex,

Thanks for the detailed explanation regarding the race with auth cap
trimming during an in-flight unlock after try_unlock_file().

I will drop the CEPH_LOCK_UNLOCK check in ceph_lock_message() and keep
only the dst->fl_u.ceph.inode guard in ceph_fl_copy_lock() in v2.

Best regards,
Daolong