From 3fd81f6adce06a999912ec54288041d0dc5ba376 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 24 Aug 2026 20:41:51 +0200 Subject: [PATCH] ceph: convert ceph_inode_xattr fields to `bool` This reduces the size of `struct ceph_inode_xattr` by 8 bytes. Signed-off-by: Max Kellermann Reviewed-by: Viacheslav Dubeyko Reviewed-by: Alex Markuze Signed-off-by: Ilya Dryomov --- fs/ceph/super.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/ceph/super.h b/fs/ceph/super.h index 1c91e73a63ac..c451f0be229a 100644 --- a/fs/ceph/super.h +++ b/fs/ceph/super.h @@ -333,10 +333,10 @@ struct ceph_inode_xattr { int name_len; const char *val; int val_len; - int dirty; + bool dirty; - int should_free_name; - int should_free_val; + bool should_free_name; + bool should_free_val; }; /*