diff for duplicates of <589EF000.7050808@bfs.de> diff --git a/a/1.txt b/N1/1.txt index 677df5a..0d41a61 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -17,20 +17,20 @@ Am 10.02.2017 22:18, schrieb Christophe JAILLET: > return 0; > goto fail; > } -> + if (res = 0) +> + if (res == 0) > + goto invalid; > + perhaps: - if (res = -ENODATA || res = -EOPNOTSUPP) + if (res == -ENODATA || res == -EOPNOTSUPP) return 0; if (ret < 0) goto fail; - if (ret = 0) + if (ret == 0) goto invalid; I think its better to read, i guess the author also as we can find this @@ -43,7 +43,7 @@ re, > if (!buf) > return -ENOMEM; > -> - if (res = 0) +> - if (res == 0) > - goto invalid; > - > res = vfs_getxattr(dentry, OVL_XATTR_REDIRECT, buf, res); diff --git a/a/content_digest b/N1/content_digest index 06c5680..08bdee2 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020170210211814.18257-1-christophe.jaillet@wanadoo.fr\0" "From\0walter harms <wharms@bfs.de>\0" "Subject\0Re: [PATCH] ovl: Avoid some memory allocation\0" - "Date\0Sat, 11 Feb 2017 11:05:36 +0000\0" + "Date\0Sat, 11 Feb 2017 12:05:36 +0100\0" "To\0Christophe JAILLET <christophe.jaillet@wanadoo.fr>\0" "Cc\0miklos@szeredi.hu" linux-unionfs@vger.kernel.org @@ -28,20 +28,20 @@ "> \t\t\treturn 0;\n" "> \t\tgoto fail;\n" "> \t}\n" - "> +\tif (res = 0)\n" + "> +\tif (res == 0)\n" "> +\t\tgoto invalid;\n" "> +\n" "\n" "\n" "perhaps:\n" "\n" - " if (res = -ENODATA || res = -EOPNOTSUPP)\n" + " if (res == -ENODATA || res == -EOPNOTSUPP)\n" "\treturn 0;\n" "\t\n" " if (ret < 0)\n" "\tgoto fail;\n" "\n" - " if (ret = 0)\n" + " if (ret == 0)\n" "\tgoto invalid;\n" "\n" "I think its better to read, i guess the author also as we can find this\n" @@ -54,11 +54,11 @@ "> \tif (!buf)\n" "> \t\treturn -ENOMEM;\n" "> \n" - "> -\tif (res = 0)\n" + "> -\tif (res == 0)\n" "> -\t\tgoto invalid;\n" "> -\n" "> \tres = vfs_getxattr(dentry, OVL_XATTR_REDIRECT, buf, res);\n" "> \tif (res < 0)\n" "> \t\tgoto fail;" -b1644747e78e7ed584dd90892e975cbfa53449270d727f97683db1d4afdf951c +a1708072f5c25900f2fb2c6cd43d22a158e98d1985848f33fcbcdcf6c105abda
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.