Clean up a pile of invisible I/O problems:
- By having an O-flag, non-privileged users could get invisible I/O--bad,bad.
So toss out the O-flag and use our existing FINVIS in filp->f_mode. Seems
to me we really need a new field in struct file for stuff like this, but
this will do for now.
- Sometimes linvfs_follow_link would get invisible I/O, because of garbage
in the kmalloc'd memory.
- xfs_open_by_handle is supposed to set invisible I/O, but it wasn't doing
that on Linux. This is this function's purpose in life, so, it was kinda
missing the boat.
Date: Tue Dec 11 12:29:05 PST 2001
Workarea: clink-eth.americas.sgi.com:/data/clink/a67/roehrich/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:108244a
linux/include/asm-sparc64/fcntl.h - 1.13
linux/include/asm-sparc/fcntl.h - 1.13
linux/include/asm-ppc/fcntl.h - 1.9
linux/include/asm-mips/fcntl.h - 1.10
linux/include/asm-m68k/fcntl.h - 1.8
linux/include/asm-i386/fcntl.h - 1.9
linux/include/asm-arm/fcntl.h - 1.8
linux/include/asm-alpha/fcntl.h - 1.12
linux/include/asm-sh/fcntl.h - 1.5
linux/include/asm-ia64/fcntl.h - 1.7
linux/include/asm-mips64/fcntl.h - 1.8
linux/include/asm-s390/fcntl.h - 1.7
linux/fs/xfs/xfs_dmapi.h - 1.20
linux/fs/xfs/xfs_dmapi.c - 1.46
linux/fs/xfs/linux/xfs_lrw.c - 1.118
linux/fs/xfs/linux/xfs_linux.h - 1.57
linux/fs/xfs/linux/xfs_iops.c - 1.116
linux/fs/xfs/linux/xfs_ioctl.c - 1.52
- No Message Supplied
|