diff for duplicates of <5112B7F2.9060005@gmail.com> diff --git a/a/1.txt b/N1/1.txt index fbc2d7b..c8ee40f 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -53,11 +53,11 @@ Acked-by: Vlad Yasevich <vyasevich@gmail.com> > + ret = idr_alloc(&sctp_assocs_id, asoc, idr_low, 0, GFP_NOWAIT); > + if (ret >= 0) { > + idr_low = ret + 1; -> if (idr_low = INT_MAX) +> if (idr_low == INT_MAX) > idr_low = 1; > } > spin_unlock_bh(&sctp_assocs_id_lock); -> - if (error = -EAGAIN) +> - if (error == -EAGAIN) > - goto retry; > - else if (error) > - return error; diff --git a/a/content_digest b/N1/content_digest index 13bf647..a944780 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\01360179649-22465-77-git-send-email-tj@kernel.org\0" "From\0Vlad Yasevich <vyasevich@gmail.com>\0" "Subject\0Re: [PATCH 76/77] sctp: convert to idr_alloc()\0" - "Date\0Wed, 06 Feb 2013 20:07:14 +0000\0" + "Date\0Wed, 06 Feb 2013 15:07:14 -0500\0" "To\0Tejun Heo <tj@kernel.org>\0" "Cc\0akpm@linux-foundation.org" linux-kernel@vger.kernel.org @@ -65,11 +65,11 @@ "> +\tret = idr_alloc(&sctp_assocs_id, asoc, idr_low, 0, GFP_NOWAIT);\n" "> +\tif (ret >= 0) {\n" "> +\t\tidr_low = ret + 1;\n" - "> \t\tif (idr_low = INT_MAX)\n" + "> \t\tif (idr_low == INT_MAX)\n" "> \t\t\tidr_low = 1;\n" "> \t}\n" "> \tspin_unlock_bh(&sctp_assocs_id_lock);\n" - "> -\tif (error = -EAGAIN)\n" + "> -\tif (error == -EAGAIN)\n" "> -\t\tgoto retry;\n" "> -\telse if (error)\n" "> -\t\treturn error;\n" @@ -87,4 +87,4 @@ "> /* Free the ASCONF queue */\n" > -558208e72797c724ae0154927896f209b9593ed0c17f1cfbb2ff2c5b87b90ff0 +81576ed687a0964bae1e90138290338bebe55b424873da35016fe9aed8ce94b6
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.