From: Chunguang Xu Date: Sat, 7 Nov 2020 15:58:17 +0000 (+0800) Subject: ext4: delete nonsensical (commented-out) code inside ext4_xattr_block_set() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=41fca96e635be523c28b8d57f2d1b1e51d1221d8;p=linux.git ext4: delete nonsensical (commented-out) code inside ext4_xattr_block_set() Signed-off-by: Chunguang Xu Reviewed-by: Andreas Dilger Link: https://lore.kernel.org/r/1604764698-4269-7-git-send-email-brookxu@tencent.com Signed-off-by: Theodore Ts'o --- diff --git a/fs/ext4/xattr.c b/fs/ext4/xattr.c index 6127e94ea4f5d..4e3b1f8c2e81e 100644 --- a/fs/ext4/xattr.c +++ b/fs/ext4/xattr.c @@ -1927,7 +1927,6 @@ ext4_xattr_block_set(handle_t *handle, struct inode *inode, } else { /* Allocate a buffer where we construct the new block. */ s->base = kzalloc(sb->s_blocksize, GFP_NOFS); - /* assert(header == s->base) */ error = -ENOMEM; if (s->base == NULL) goto cleanup;