diff for duplicates of <20101123062602.GG1522@bicker> diff --git a/a/1.txt b/N1/1.txt index aba8f24..42e71dd 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,7 +1,7 @@ nilfs_iget_for_gc() returns an ERR_PTR() on failure and doesn't return NULL. -Signed-off-by: Dan Carpenter <error27@gmail.com> +Signed-off-by: Dan Carpenter <error27-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> diff --git a/fs/nilfs2/ioctl.c b/fs/nilfs2/ioctl.c index 3e90f86..5bf426f 100644 @@ -11,10 +11,14 @@ index 3e90f86..5bf426f 100644 ino = vdesc->vd_ino; cno = vdesc->vd_cno; inode = nilfs_iget_for_gc(sb, ino, cno); -- if (unlikely(inode = NULL)) { +- if (unlikely(inode == NULL)) { - ret = -ENOMEM; + if (unlikely(IS_ERR(inode))) { + ret = PTR_ERR(inode); goto failed; } do { +-- +To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in +the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org +More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/a/content_digest b/N1/content_digest index 2b1f883..0237eb0 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,13 +1,15 @@ - "From\0Dan Carpenter <error27@gmail.com>\0" + "From\0Dan Carpenter <error27-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>\0" "Subject\0[patch] nilfs2: nilfs_iget_for_gc() returns ERR_PTR\0" - "Date\0Tue, 23 Nov 2010 06:26:02 +0000\0" - "To\0kernel-janitors@vger.kernel.org\0" + "Date\0Tue, 23 Nov 2010 09:26:02 +0300\0" + "To\0KONISHI Ryusuke <konishi.ryusuke-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org>\0" + "Cc\0linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" + " kernel-janitors-u79uwXL29TY76Z2rM5mHXA@public.gmane.org\0" "\00:1\0" "b\0" "nilfs_iget_for_gc() returns an ERR_PTR() on failure and doesn't return\n" "NULL.\n" "\n" - "Signed-off-by: Dan Carpenter <error27@gmail.com>\n" + "Signed-off-by: Dan Carpenter <error27-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>\n" "\n" "diff --git a/fs/nilfs2/ioctl.c b/fs/nilfs2/ioctl.c\n" "index 3e90f86..5bf426f 100644\n" @@ -17,12 +19,16 @@ " \t\tino = vdesc->vd_ino;\n" " \t\tcno = vdesc->vd_cno;\n" " \t\tinode = nilfs_iget_for_gc(sb, ino, cno);\n" - "-\t\tif (unlikely(inode = NULL)) {\n" + "-\t\tif (unlikely(inode == NULL)) {\n" "-\t\t\tret = -ENOMEM;\n" "+\t\tif (unlikely(IS_ERR(inode))) {\n" "+\t\t\tret = PTR_ERR(inode);\n" " \t\t\tgoto failed;\n" " \t\t}\n" - " \t\tdo {" + " \t\tdo {\n" + "--\n" + "To unsubscribe from this list: send the line \"unsubscribe linux-nilfs\" in\n" + "the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org\n" + More majordomo info at http://vger.kernel.org/majordomo-info.html -852c4629092ce6b949d73285c41a2265d7d8a67a7423987b4eb89a11ce1bd3d8 +768c51f3d05433b21b60ca3428e7b881b5c4cd07cb45d2c2b0c3b328996facfe
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.