Fix a couple of issues on the error path when dealing with external
devices (log/realtime). path_init was missing the LOOKUP_POSITIVE
flag, so it would fail to tell us if the file doesn't exist; there
was a spot where we were returning a wrongly signed error code;
and when mount is failing, we can call into xfs_blkdev_put with a
NULL pointer depending on which devices were initialised and which
weren't.
You wouldn't normally hit this, but a typo in your mount options
(like I had ;) along the lines "-o logdev=4" would cause a panic.
Date: Tue Oct 29 19:47:25 PST 2002
Workarea: snort.melbourne.sgi.com:/home/nathans/2.4.x-xfs
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
Modid: 2.4.x-xfs:slinx:131469a
linux/fs/xfs/linux/xfs_super.c - 1.224
|