ceph: cleanup hardcoded constants of file handle size
authorViacheslav Dubeyko <Slava.Dubeyko@ibm.com>
Mon, 10 Feb 2025 23:01:58 +0000 (15:01 -0800)
committerIlya Dryomov <idryomov@gmail.com>
Sun, 1 Jun 2025 15:53:16 +0000 (17:53 +0200)
commitd50eb28f2de5a35670ce10c0d34b9c9088f43f54
tree3b852691a35c4b93ce34cfb060e60fb3b7511266
parent0abd87942e0c93964e93224836944712feba1d91
ceph: cleanup hardcoded constants of file handle size

The ceph/export.c contains very confusing logic of file handle size
calculation based on hardcoded values. This patch makes the cleanup of
this logic by means of introduction the named constants.

Signed-off-by: Viacheslav Dubeyko <Slava.Dubeyko@ibm.com>
Reviewed-by: Alex Markuze <amarkuze@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/export.c