2024-06-06 12:57:13

by Kemeng Shi

[permalink] [raw]
Subject: [PATCH 2/3] ext4: correct comment of ext4_xattr_block_cache_insert

There is no return value from ext4_xattr_block_cache_insert, just correct
it's comment about return value.

Signed-off-by: Kemeng Shi <[email protected]>
---
fs/ext4/xattr.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/fs/ext4/xattr.c b/fs/ext4/xattr.c
index c3db1abe9d77..1d4023715952 100644
--- a/fs/ext4/xattr.c
+++ b/fs/ext4/xattr.c
@@ -3021,8 +3021,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,
--
2.30.0