sys_open does a trick of:
#if BITS_PER_LONG != 32
flags |= O_LARGEFILE;
#endif
to set O_LARGEFILE on 64-bit machines, but if we were doing the
open_by_handle ioctl, this didn't get set (since we don't go through
sys_open). As a result, things like xfsdump, that use open_by_handle,
failed for large files on 64-bit boxes.
Date: Tue Jul 30 13:15:19 PDT 2002
Workarea:
stout.americas.sgi.com:/localhome/src/sandeen/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:123972a
linux/fs/xfs/linux/xfs_ioctl.c - 1.71
- Set O_LARGEFILE flag when we do xfs_open_by_handle on 64-bit machines
(follow example of sys_open)
|