diff options
author | Chunguang Xu | 2020-11-07 23:58:17 +0800 |
---|---|---|
committer | Theodore Ts'o | 2020-12-09 14:22:56 -0500 |
commit | 41fca96e635be523c28b8d57f2d1b1e51d1221d8 (patch) | |
tree | 2a7ba78469d9a3e7f599eed91f7e841f6ef79d9e /fs/ext4/xattr.c | |
parent | 8041ac642a1b31a2479488bc93fb16045726de23 (diff) |
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.c | 1 |
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; |