projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8041ac6
)
ext4: delete nonsensical (commented-out) code inside ext4_xattr_block_set()
author
Chunguang Xu
<brookxu@tencent.com>
Sat, 7 Nov 2020 15:58:17 +0000
(23:58 +0800)
committer
Theodore 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
patch
|
blob
|
history
diff --git
a/fs/ext4/xattr.c
b/fs/ext4/xattr.c
index 6127e94ea4f5d6180d20600592f1d03e67e09813..4e3b1f8c2e81eaaf5489ee96f2c63a5d6e8681da 100644
(file)
--- 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;