[PATCH v4 04/12] fs/ceph/super.h: convert ceph_inode_xattr fields to `bool`
Max Kellermann <[email protected]>
| Newsgroups | org.kernel.vger.ceph-devel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
This reduces the size of `struct ceph_inode_xattr` by 8 bytes. Signed-off-by: Max Kellermann <[email protected]> --- 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 7023af704e14..a3dae2c0bbee 100644 --- a/fs/ceph/super.h +++ b/fs/ceph/super.h @@ -320,10 +320,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; }; /* -- 2.47.3