Re: [PATCH 2/9] relay: require non-NULL callbacks in relay_open()

2020-11-24 Thread Christoph Hellwig
On Mon, Nov 23, 2020 at 07:59:22PM +0200, Jani Nikula wrote: > There are no clients passing NULL callbacks, which makes sense as it > wouldn't even create a file. Require non-NULL callbacks, and throw away > the handling for NULL callbacks. Looks good, Reviewed-by: Christoph Hellwig

[PATCH 2/9] relay: require non-NULL callbacks in relay_open()

2020-11-23 Thread Jani Nikula
There are no clients passing NULL callbacks, which makes sense as it wouldn't even create a file. Require non-NULL callbacks, and throw away the handling for NULL callbacks. Suggested-by: Christoph Hellwig Cc: Christoph Hellwig Signed-off-by: Jani Nikula --- kernel/relay.c | 14 ++