diff for duplicates of <20100421103508.GG29647@bicker> diff --git a/a/1.txt b/N1/1.txt index 08ef32e..fbd3797 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -10,8 +10,8 @@ index e016372..f9327bb 100644 devname = nfs_path(path->mnt->mnt_devname, path->mnt->mnt_root, path->dentry, page, PAGE_SIZE); -- if (devname = NULL) +- if (devname == NULL) + if (IS_ERR(devname)) goto out_freepage; tmp = kstrdup(devname, GFP_KERNEL); - if (tmp = NULL) + if (tmp == NULL) diff --git a/a/content_digest b/N1/content_digest index 11ce7bb..ebdbae2 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <error27@gmail.com>\0" "Subject\0[patch] nfs: testing for null instead of ERR_PTR()\0" - "Date\0Wed, 21 Apr 2010 10:35:09 +0000\0" + "Date\0Wed, 21 Apr 2010 12:35:09 +0200\0" "To\0Trond Myklebust <Trond.Myklebust@netapp.com>\0" "Cc\0Chuck Lever <chuck.lever@oracle.com>" Benny Halevy <bhalevy@panasas.com> @@ -22,10 +22,10 @@ " \tdevname = nfs_path(path->mnt->mnt_devname,\n" " \t\t\tpath->mnt->mnt_root, path->dentry,\n" " \t\t\tpage, PAGE_SIZE);\n" - "-\tif (devname = NULL)\n" + "-\tif (devname == NULL)\n" "+\tif (IS_ERR(devname))\n" " \t\tgoto out_freepage;\n" " \ttmp = kstrdup(devname, GFP_KERNEL);\n" - " \tif (tmp = NULL)" + " \tif (tmp == NULL)" -ca34f3aa6169f58db2aeaa4aeaf461347d26cd9a0b07c0935660bccd60d6cebf +74ef07b91f6dbff0806263fff4c1497049fedc7eca3b884ccb9a2cfba9e24d47
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.