]> Gentwo Git Trees - linux/.git/commit
fuse: rename 'namelen' to 'namesize'
authorMiquel Sabaté Solà <mssola@mssola.com>
Mon, 29 Sep 2025 13:02:46 +0000 (15:02 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Thu, 13 Nov 2025 09:38:01 +0000 (10:38 +0100)
commit47781ee71fb6bf2e082580b98be72411b99b6e04
tree7e5fa762ad60f7c71bbf4f6728ea4992fc524481
parentc755a09b52c09b8d67ef35b4ac3166ca6e797bee
fuse: rename 'namelen' to 'namesize'

By "length of a string" usually the number of non-null chars is
meant (i.e. strlen(str)). So the variable 'namelen' was confusingly
named, whereas 'namesize' refers more to what's being done in
'get_security_context'.

Suggested-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/dir.c