diff for duplicates of <201007122229025316610@gmail.com> diff --git a/a/1.txt b/N1/1.txt index 47b527c..8e04b00 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -32,7 +32,7 @@ index 7c39157..0b94d61 100644 +++ b/fs/ext2/xattr.c @@ -161,6 +161,13 @@ ext2_xattr_get(struct inode *inode, int name_index, const char *name, - if (name = NULL) + if (name == NULL) return -EINVAL; + + /* find named attribute */ @@ -56,5 +56,6 @@ index 7c39157..0b94d61 100644 - goto cleanup; entry = FIRST_ENTRY(bh); while (!IS_LAST_ENTRY(entry)) { - struct ext2_xattr_entry *next -- + struct ext2_xattr_entry *next = +-- 1.7.1.1 diff --git a/a/content_digest b/N1/content_digest index 0ecb91f..d5a3f6f 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0crosslonelyover <crosslonelyover@gmail.com>\0" "Subject\0[PATCH] check name_len before down_read xattr_sem and sb_read in ext2_xattr_get\0" - "Date\0Mon, 12 Jul 2010 14:29:09 +0000\0" + "Date\0Mon, 12 Jul 2010 22:29:09 +0800\0" "To\0linux-ext4 <linux-ext4@vger.kernel.org>" linux-kernel <linux-kernel@vger.kernel.org> " kernel-janitors <kernel-janitors@vger.kernel.org>\0" @@ -40,7 +40,7 @@ "+++ b/fs/ext2/xattr.c\n" "@@ -161,6 +161,13 @@ ext2_xattr_get(struct inode *inode, int name_index, const char *name,\n" " \n" - " \tif (name = NULL)\n" + " \tif (name == NULL)\n" " \t\treturn -EINVAL;\n" "+\n" "+\t/* find named attribute */\n" @@ -64,7 +64,8 @@ "-\t\tgoto cleanup;\n" " \tentry = FIRST_ENTRY(bh);\n" " \twhile (!IS_LAST_ENTRY(entry)) {\n" - " \t\tstruct ext2_xattr_entry *next -- \n" + " \t\tstruct ext2_xattr_entry *next =\n" + "-- \n" 1.7.1.1 -7711cec4f741095eabfef24466bafed51eea6555cdce02ca400f50d5097712df +c8d6695d8f3a919e83bca84592a3fa5fec3ca4804e2496c6ec240a11f7ae3d0c
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.