]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ext4: correct comment of ext4_xattr_block_cache_insert
authorKemeng Shi <shikemeng@huaweicloud.com>
Thu, 6 Jun 2024 12:55:07 +0000 (20:55 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 21 Aug 2024 02:56:30 +0000 (22:56 -0400)
There is no return value from ext4_xattr_block_cache_insert, just correct
it's comment about return value.

Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Link: https://patch.msgid.link/20240606125508.1459893-3-shikemeng@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/xattr.c

index 54928ba243ca23c98b91b70ae45923131f0aa5ad..31c5189e131fec958d7caa15a61d6a0d59dee8b5 100644 (file)
@@ -3036,8 +3036,6 @@ void ext4_xattr_inode_array_free(struct ext4_xattr_inode_array *ea_inode_array)
  *
  * Create a new entry in the extended attribute block cache, and insert
  * it unless such an entry is already in the cache.
- *
- * Returns 0, or a negative error number on failure.
  */
 static void
 ext4_xattr_block_cache_insert(struct mb_cache *ea_block_cache,