diff for duplicates of <20190103113811.GA13543@kadam> diff --git a/a/1.txt b/N1/1.txt index 398fbee..a7e73f4 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -19,7 +19,7 @@ index 7fddd519adae..6ddbbe21fdd8 100644 } @@ -2903,6 +2904,7 @@ int ext4_xattr_delete_inode(handle_t *handle, struct inode *inode, - if (error = -EIO) + if (error == -EIO) EXT4_ERROR_INODE(inode, "block %llu read error", EXT4_I(inode)->i_file_acl); + bh = NULL; @@ -28,11 +28,11 @@ index 7fddd519adae..6ddbbe21fdd8 100644 error = ext4_xattr_check_block(inode, bh); @@ -3059,6 +3061,7 @@ ext4_xattr_block_cache_find(struct inode *inode, if (IS_ERR(bh)) { - if (PTR_ERR(bh) = -ENOMEM) + if (PTR_ERR(bh) == -ENOMEM) return NULL; + bh = NULL; EXT4_ERROR_INODE(inode, "block %lu read error", (unsigned long)ce->e_value); - } else if (ext4_xattr_cmp(header, BHDR(bh)) = 0) { + } else if (ext4_xattr_cmp(header, BHDR(bh)) == 0) { -- 2.17.1 diff --git a/a/content_digest b/N1/content_digest index cd3a4a4..6275a32 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[PATCH] ext4: Fix some error pointer dereferences\0" - "Date\0Thu, 03 Jan 2019 11:38:11 +0000\0" + "Date\0Thu, 3 Jan 2019 14:38:11 +0300\0" "To\0Theodore Ts'o <tytso@mit.edu>\0" "Cc\0Andreas Dilger <adilger.kernel@dilger.ca>" linux-ext4@vger.kernel.org @@ -28,7 +28,7 @@ " \t\t}\n" " \n" "@@ -2903,6 +2904,7 @@ int ext4_xattr_delete_inode(handle_t *handle, struct inode *inode,\n" - " \t\t\tif (error = -EIO)\n" + " \t\t\tif (error == -EIO)\n" " \t\t\t\tEXT4_ERROR_INODE(inode, \"block %llu read error\",\n" " \t\t\t\t\t\t EXT4_I(inode)->i_file_acl);\n" "+\t\t\tbh = NULL;\n" @@ -37,13 +37,13 @@ " \t\terror = ext4_xattr_check_block(inode, bh);\n" "@@ -3059,6 +3061,7 @@ ext4_xattr_block_cache_find(struct inode *inode,\n" " \t\tif (IS_ERR(bh)) {\n" - " \t\t\tif (PTR_ERR(bh) = -ENOMEM)\n" + " \t\t\tif (PTR_ERR(bh) == -ENOMEM)\n" " \t\t\t\treturn NULL;\n" "+\t\t\tbh = NULL;\n" " \t\t\tEXT4_ERROR_INODE(inode, \"block %lu read error\",\n" " \t\t\t\t\t (unsigned long)ce->e_value);\n" - " \t\t} else if (ext4_xattr_cmp(header, BHDR(bh)) = 0) {\n" + " \t\t} else if (ext4_xattr_cmp(header, BHDR(bh)) == 0) {\n" "-- \n" 2.17.1 -605946ab4c54565220bba3d4867e51aa320e93bc2fb41414ee9179cf1f85348d +8a61b0fd125458873e0c6c9901f338aa2bd548e2c934900ed813bbd645d2d28d
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.