xfs
[Top] [All Lists]

TAKE - Check return code from md.c:blk_ioctl

Subject: TAKE - Check return code from md.c:blk_ioctl
From: Keith Owens <kaos@xxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 13 Jun 2001 00:18:02 +1000
Sender: owner-linux-xfs@xxxxxxxxxxx
As suggested on one of the XFS lists, I asked the affected maintainers
to check the BLKBSZGET and BLKBSZSET changes.  Andries Brouwer pointed
out

-----
Index: 6-pre1.1/drivers/md/md.c
+               case BLKBSZGET:
+               case BLKBSZSET:
+                       blk_ioctl (dev, cmd, arg);
+                       goto done;
----

where clearly the return status from blk_ioctl must be returned,
that is, the code should be err=blk_ioctl(); goto done_unlock;

Code changed accordingly.

Date:  Tue Jun 12 07:14:49 PDT 2001
Workarea:  sherman.melbourne.sgi.com:/build/kaos/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:96720a
linux/drivers/md/md.c - 1.14


<Prev in Thread] Current Thread [Next in Thread>
  • TAKE - Check return code from md.c:blk_ioctl, Keith Owens <=