commit | 61172eaea1adf64a77e563b0cb30d7ee88d9aa80 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Apr 24 17:00:52 2018 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Wed May 16 07:23:35 2018 +0200 |
tree | 07ca85b5531274c7bb4063ef391f2b8d2caaf057 | |
parent | 04015e3fa235eba28cc058c73d7d346c1bcffee8 [diff] |
proc: simplify proc_register calling conventions Return registered entry on success, return NULL on failure and free the passed in entry. Also expose it in internal.h as we'll start using it in proc_net.c soon. Signed-off-by: Christoph Hellwig <hch@lst.de>