xfs
[Top] [All Lists]

TAKE - Fix error reporting in write path

Subject: TAKE - Fix error reporting in write path
From: Eric Sandeen <sandeen@xxxxxxx>
Date: Fri, 15 Mar 2002 11:30:43 -0600
Sender: owner-linux-xfs@xxxxxxxxxxx
We always have to be careful about how we return errors out of xfs -
Irix (and hence the guts of xfs) deal with positive error values,
but Linux expect to deal with negative errors.

linvfs_write was returning the wrong error signs in the majority of
error cases, including EFBIG.  The LSB test suite caught this; this
mod alone fixes about 18 of the LSB streamio test cases.


Date:  Fri Mar 15 09:27:23 PST 2002
Workarea:  stout.americas.sgi.com:/localhome/eric/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:114230a
linux/fs/xfs/linux/xfs_file.c - 1.60
        - Fix the sign of the majority of error returns in linvfs_write



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE - Fix error reporting in write path, Eric Sandeen <=