linvfs_lookup wasn't reporting all errors to the caller. My previous
"fix" returned ENOENT as well, which is quite clearly documented as
the wrong thing to do, in vfs.txt. :-)
This will return any errors _except_ ENOENT up to the caller, in the
ENOENT case the inode is null, and a negative dentry is created.
Date: Mon Apr 29 13:57:56 PDT 2002
Workarea:
stout.americas.sgi.com:/localhome/src/sandeen/2.4.x-xfs/workarea-alwaysclean
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
Modid: 2.4.x-xfs:slinx:117732a
linux/fs/xfs/linux/xfs_iops.c - 1.134
- Error reporting - return any errors except ENOENT to caller
|