X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=net%2F9p%2Futil.c;h=9c1c9348ac35d3410ccb255266f9367bbf5d2549;hb=57bb55957432f20fd6e5bb5ddfbd9987439157ec;hp=da6af81e59d9fa504345c306e6636acd1f91b093;hpb=8db72a7d7268630e04ec285fbd3e90733b2eddf9;p=~andy%2Flinux diff --git a/net/9p/util.c b/net/9p/util.c index da6af81e59d..9c1c9348ac3 100644 --- a/net/9p/util.c +++ b/net/9p/util.c @@ -93,7 +93,7 @@ int p9_idpool_get(struct p9_idpool *p) retry: if (idr_pre_get(&p->pool, GFP_NOFS) == 0) - return 0; + return -1; spin_lock_irqsave(&p->lock, flags);