On Mon, Oct 01, 2018 at 03:45:00PM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > > Teach callers of inode->i_op->get_link in the vfs code to check for a > NULL return value and return an error status instead of blindly > dereferencing the returned NULL pointer. IDGI. If you want it to fail with -EUCLEAN, then by all means return it as you would any other error. I've no problem with "fs image is fucked, return an error". However, "fs driver is fucked, paper over that if we'd caught one of the symptoms" is a different story. NAK in that form. If we have that happen, let the damn thing oops. Quietly papering over bugs like that is just plain wrong.