Messages in this thread Patch in this message | | | Date | Thu, 13 Apr 2006 16:44:25 -0400 | From | Jeff Mahoney <> | Subject | Re: [PATCH 01/08] idr: add idr_replace method for replacing pointers |
| |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Jeff Mahoney wrote: > --- linux-2.6.16-staging1/lib/idr.c 2006-01-02 22:21:10.000000000 -0500 > +++ linux-2.6.16-staging2/lib/idr.c 2006-04-13 16:18:14.000000000 -0400 > @@ -390,6 +390,43 @@ void *idr_find(struct idr *idp, int id) > } > EXPORT_SYMBOL(idr_find); > > +/** > + * idr_replace - replace pointer for given id > + * @idp: idr handle > + * @ptr: pointer you want associated with the ide > + * @id: lookup key > + * > + * Replace the pointer registered with the id. A -ENOENT > + * return indicates that @id is not found.
This was accidentally sent. It's a vim backup file. Just a grammar change from the one that I'm not replying to. Sorry for the confusion.
- -Jeff
- -- Jeff Mahoney SUSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFEPrgpLPWxlyuTD7IRAlp1AJsGHFot4YULH2+wJd02zJ3H1HxWqwCfT/r3 aUvCCekPGHiQfaZXyOTx6oM= =tFd9 -----END PGP SIGNATURE----- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |