[linux-cifs-client] Re: [PATCH] cifs: remove useless cargo-cultchecks

Wagner, Chris (GE Infra, Non-GE, US) chris.wagner at ge.com
Wed Mar 7 22:33:34 GMT 2007


I have no opinion on this but it did spark some memories.  I'm thinking of the famous "impossible; can't happen" result that somehow, sometimes, comes true. :)


-----Original Message-----
From: linux-cifs-client-bounces+chris.wagner=ae.ge.com at lists.samba.org on behalf of Steven French
Sent: Wed 3/7/07 1:51 PM
To: Christoph Hellwig
Cc: linux-cifs-client at lists.samba.org; linux-kernel at vger.kernel.org
Subject: [linux-cifs-client] Re: [PATCH] cifs: remove useless cargo-cultchecks
 
> file->f_path.dentry or file->f_path.dentry.d_inode can't be NULL

OK - I don't really mind removing these checks - and I agree that I there
is not an obvious way that they can be null, yet we had a case in which
file->f_dentry was reported as NULL a few years back in a bug report that
we could not reproduce.




More information about the linux-cifs-client mailing list