ext4: delete nonsensical (commented-out) code inside ext4_xattr_block_set()
authorChunguang Xu <brookxu@tencent.com>
Sat, 7 Nov 2020 15:58:17 +0000 (23:58 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 9 Dec 2020 19:22:56 +0000 (14:22 -0500)
Signed-off-by: Chunguang Xu <brookxu@tencent.com>
Reviewed-by: Andreas Dilger <adilger@dilger.ca>
Link: https://lore.kernel.org/r/1604764698-4269-7-git-send-email-brookxu@tencent.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/xattr.c

index 6127e94..4e3b1f8 100644 (file)
@@ -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;