Cancel transactions on xfs_itruncate_start error.
Signed-Off-By: Jesper Juhl <jesper.juhl@xxxxxxxxx>
Date: Wed Jun 20 14:08:02 AEST 2007
Workarea: chook.melbourne.sgi.com:/build/dgc/isms/2.6.x-xfs
Inspected by: jesper.juhl@xxxxxxxxx
The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb
Modid: xfs-linux-melb:xfs-kern:28943a
fs/xfs/xfs_vnodeops.c - 1.699 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_vnodeops.c.diff?r1=text&tr1=1.699&r2=text&tr2=1.698&f=h
- Prevent transaction leak if we get an error from
xfs_itruncate_start() by cancelling it correctly.
|