[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TAKE - Fix error reporting in write path



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