Re: [PATCH] rpc: properly check debugfs dentry before using it

2019-02-12 Thread gre...@linuxfoundation.org
On Tue, Feb 12, 2019 at 08:52:53PM +, Schumaker, Anna wrote: > On Tue, 2019-02-12 at 19:27 +0100, Greg Kroah-Hartman wrote: > > debugfs can now report an error code if something went wrong instead of > > just NULL. So if the return value is to be used as a "real" dentry, it > > needs to be che

Re: [PATCH] rpc: properly check debugfs dentry before using it

2019-02-12 Thread Schumaker, Anna
On Tue, 2019-02-12 at 19:27 +0100, Greg Kroah-Hartman wrote: > debugfs can now report an error code if something went wrong instead of > just NULL. So if the return value is to be used as a "real" dentry, it > needs to be checked if it is an error before dereferencing it. > > This is now happenin

[PATCH] rpc: properly check debugfs dentry before using it

2019-02-12 Thread Greg Kroah-Hartman
debugfs can now report an error code if something went wrong instead of just NULL. So if the return value is to be used as a "real" dentry, it needs to be checked if it is an error before dereferencing it. This is now happening because of ff9fb72bc077 ("debugfs: return error values, not NULL"), b