summaryrefslogtreecommitdiffstats
path: root/fs/ext4/xattr.c
diff options
context:
space:
mode:
authorChunguang Xu <brookxu@tencent.com>2020-11-07 16:58:17 +0100
committerTheodore Ts'o <tytso@mit.edu>2020-12-09 20:22:56 +0100
commit41fca96e635be523c28b8d57f2d1b1e51d1221d8 (patch)
tree2a7ba78469d9a3e7f599eed91f7e841f6ef79d9e /fs/ext4/xattr.c
parentext4: update ext4_data_block_valid related comments (diff)
downloadlinux-41fca96e635be523c28b8d57f2d1b1e51d1221d8.tar.xz
linux-41fca96e635be523c28b8d57f2d1b1e51d1221d8.zip
ext4: delete nonsensical (commented-out) code inside ext4_xattr_block_set()
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>
Diffstat (limited to 'fs/ext4/xattr.c')
-rw-r--r--fs/ext4/xattr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ext4/xattr.c b/fs/ext4/xattr.c
index 6127e94ea4f5..4e3b1f8c2e81 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;