[PATCH RESEND] nilfs2: fix i_xattr comment to note it is unused

Yuto Ohnuki posted 1 patch 1 month ago
fs/nilfs2/nilfs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH RESEND] nilfs2: fix i_xattr comment to note it is unused
Posted by Yuto Ohnuki 1 month ago
NILFS2 does not currently support extended attributes. Update the
comment for @i_xattr in struct nilfs_inode_info to clarify that it is
reserved but unused.

Signed-off-by: Yuto Ohnuki <ytohnuki@amazon.com>
---
 fs/nilfs2/nilfs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/nilfs2/nilfs.h b/fs/nilfs2/nilfs.h
index b7e3d91b6243..41b8b42be21d 100644
--- a/fs/nilfs2/nilfs.h
+++ b/fs/nilfs2/nilfs.h
@@ -27,7 +27,7 @@
  * @i_state: dynamic state flags
  * @i_bmap: pointer on i_bmap_data
  * @i_bmap_data: raw block mapping
- * @i_xattr: <TODO>
+ * @i_xattr: reserved for xattr object (unused)
  * @i_dir_start_lookup: page index of last successful search
  * @i_cno: checkpoint number for GC inode
  * @i_assoc_inode: associated inode (B-tree node cache holder or back pointer)
-- 
2.50.1




Amazon Web Services EMEA SARL, 38 avenue John F. Kennedy, L-1855 Luxembourg, R.C.S. Luxembourg B186284

Amazon Web Services EMEA SARL, Irish Branch, One Burlington Plaza, Burlington Road, Dublin 4, Ireland, branch registration number 908705
Re: [PATCH RESEND] nilfs2: fix i_xattr comment to note it is unused
Posted by Ryusuke Konishi 1 month ago
On Mon, Feb 16, 2026 at 6:25 PM Yuto Ohnuki wrote:
>
> NILFS2 does not currently support extended attributes. Update the
> comment for @i_xattr in struct nilfs_inode_info to clarify that it is
> reserved but unused.
>
> Signed-off-by: Yuto Ohnuki <ytohnuki@amazon.com>
> ---
>  fs/nilfs2/nilfs.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Thank you.

Viacheslav, could you please pick this up directly and queue it for
the next cycle (with the following Acked-by tag)?

Acked-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>

There's been discussion about removing the on-disk inode xattr field
to implement atime, so if it's no longer needed for that reason, you
can drop it.

However, since this is an on-memory inode field, I think it's okay to
leave the field itself in place until its handling is decided.

Regards,
Ryusuke Konishi

> diff --git a/fs/nilfs2/nilfs.h b/fs/nilfs2/nilfs.h
> index b7e3d91b6243..41b8b42be21d 100644
> --- a/fs/nilfs2/nilfs.h
> +++ b/fs/nilfs2/nilfs.h
> @@ -27,7 +27,7 @@
>   * @i_state: dynamic state flags
>   * @i_bmap: pointer on i_bmap_data
>   * @i_bmap_data: raw block mapping
> - * @i_xattr: <TODO>
> + * @i_xattr: reserved for xattr object (unused)
>   * @i_dir_start_lookup: page index of last successful search
>   * @i_cno: checkpoint number for GC inode
>   * @i_assoc_inode: associated inode (B-tree node cache holder or back pointer)
> --
> 2.50.1
>
>
>
>
> Amazon Web Services EMEA SARL, 38 avenue John F. Kennedy, L-1855 Luxembourg, R.C.S. Luxembourg B186284
>
> Amazon Web Services EMEA SARL, Irish Branch, One Burlington Plaza, Burlington Road, Dublin 4, Ireland, branch registration number 908705
>
>
>