lab.nexedi.com will be down from Thursday, 20 March 2025, 07:30:00 UTC for a duration of approximately 2 hours

Commit 6ceeb2d8 authored by Kemeng Shi's avatar Kemeng Shi Committed by Theodore Ts'o

ext4: correct comment of ext4_xattr_cmp

The ext4_xattr_cmp never returns negative error number. Correct possible
return value in ext4_xattr_cmp's comment.
Signed-off-by: default avatarKemeng Shi <shikemeng@huaweicloud.com>
Link: https://patch.msgid.link/20240606125508.1459893-2-shikemeng@huaweicloud.comSigned-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent f67fbacd
...@@ -3065,8 +3065,7 @@ ext4_xattr_block_cache_insert(struct mb_cache *ea_block_cache, ...@@ -3065,8 +3065,7 @@ ext4_xattr_block_cache_insert(struct mb_cache *ea_block_cache,
* *
* Compare two extended attribute blocks for equality. * Compare two extended attribute blocks for equality.
* *
* Returns 0 if the blocks are equal, 1 if they differ, and * Returns 0 if the blocks are equal, 1 if they differ.
* a negative error number on errors.
*/ */
static int static int
ext4_xattr_cmp(struct ext4_xattr_header *header1, ext4_xattr_cmp(struct ext4_xattr_header *header1,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment