xfs
[Top] [All Lists]

TAKE - block device error handling fixes

To: linux-xfs@xxxxxxxxxxx
Subject: TAKE - block device error handling fixes
From: Nathan Scott <nathans@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 30 Oct 2002 14:51:58 +1100 (EST)
Sender: linux-xfs-bounce@xxxxxxxxxxx
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


<Prev in Thread] Current Thread [Next in Thread>
  • TAKE - block device error handling fixes, Nathan Scott <=