ceph: __{dir,dentry}_lease_check() returns an enum

The declaration of these return valued (KEEP, DELETE, TOUCH, STOP) and
their use in __dentry_leases_walk() suggests that these are bit flags,
but there is only ever one bit set.  Converting these to a
non-anonymous enum expresses the intent more clearly.

[ idryomov: comment on enum lease_check_result isn't a kernel-doc
  comment ]

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
Reviewed-by: Alex Markuze <amarkuze@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
This commit is contained in:
Max Kellermann 2026-07-09 12:41:21 +02:00 • committed by Ilya Dryomov
commit 45bd40c81a