]> Pileus Git - ~andy/linux/blobdiff - net/9p/util.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph...
[~andy/linux] / net / 9p / util.c
index da6af81e59d9fa504345c306e6636acd1f91b093..9c1c9348ac35d3410ccb255266f9367bbf5d2549 100644 (file)
@@ -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);