Kill SYNC_CLOSE
SYNC_CLOSE is only ever used and checked in conjunction with
SYNC_WAIT, and this only done in one spot. The only thing
this does is make XFS_bflush() calls to the data buftargs.
This will happen very shortly afterwards the xfs_sync() call
anyway in the unmount path via the xfs_close_devices(), so this
code is redundant and can be removed. That only user of SYNC_CLOSE
is now gone, so kill the flag completely.
Signed-off-by: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Mon Oct 13 17:41:16 EST 2008
Workarea: redback.melbourne.sgi.com:/home/lachlan/isms/2.6.x-sync
Inspected by: hch
Author: lachlan
The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb
Modid: xfs-linux-melb:xfs-kern:32310a
fs/xfs/linux-2.6/xfs_super.c - 1.455 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_super.c.diff?r1=text&tr1=1.455&r2=text&tr2=1.454&f=h
fs/xfs/linux-2.6/xfs_sync.h - 1.6 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_sync.h.diff?r1=text&tr1=1.6&r2=text&tr2=1.5&f=h
fs/xfs/linux-2.6/xfs_sync.c - 1.15 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_sync.c.diff?r1=text&tr1=1.15&r2=text&tr2=1.14&f=h
- Kill SYNC_CLOSE
|