kernel-ark/fs/xfs/linux-2.6
Michal Marek faa63e9584 [XFS] Fix XFS_IOC_FSBULKSTAT{,_SINGLE} & XFS_IOC_FSINUMBERS in compat mode
* 32bit struct xfs_fsop_bulkreq has different size and layout of
members, no matter the alignment. Move the code out of the #else
branch (why was it there in the first place?). Define _32 variants of
the ioctl constants.
* 32bit struct xfs_bstat is different because of time_t and on
i386 because of different padding. Make xfs_bulkstat_one() accept a
custom "output formatter" in the private_data argument which takes care
of the xfs_bulkstat_one_compat() that takes care of the different
layout in the compat case.
* i386 struct xfs_inogrp has different padding.
Add a similar "output formatter" mecanism to xfs_inumbers().

SGI-PV: 967354
SGI-Modid: xfs-linux-melb:xfs-kern:29102a

Signed-off-by: Michal Marek <mmarek@suse.cz>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
2007-07-14 15:42:50 +10:00
..
kmem.c
kmem.h [XFS] Use generic shrinker interfaces in XFS. 2007-07-14 15:23:53 +10:00
mrlock.h [XFS] Add lockdep support for XFS 2007-05-08 13:50:19 +10:00
mutex.h
sema.h
spin.h
sv.h
time.h
xfs_aops.c [XFS] Map unwritten extents correctly for I/o completion processing 2007-07-14 15:32:49 +10:00
xfs_aops.h
xfs_buf.c [XFS] Flush the block device before closing it on unmount. 2007-07-14 15:30:05 +10:00
xfs_buf.h [XFS] Only use refcounted pages for I/O 2007-07-14 15:21:14 +10:00
xfs_cred.h
xfs_dmapi_priv.h
xfs_export.c
xfs_export.h
xfs_file.c [XFS] XFS should not be looking at filp reference counts 2007-07-14 15:37:37 +10:00
xfs_fs_subr.c [XFS] propogate return codes from flush routines 2007-05-08 13:49:27 +10:00
xfs_fs_subr.h [XFS] propogate return codes from flush routines 2007-05-08 13:49:27 +10:00
xfs_globals.c [XFS] Concurrent Multi-File Data Streams 2007-07-14 15:40:53 +10:00
xfs_globals.h
xfs_ioctl32.c [XFS] Fix XFS_IOC_FSBULKSTAT{,_SINGLE} & XFS_IOC_FSINUMBERS in compat mode 2007-07-14 15:42:50 +10:00
xfs_ioctl32.h
xfs_ioctl.c [XFS] Fix XFS_IOC_FSBULKSTAT{,_SINGLE} & XFS_IOC_FSINUMBERS in compat mode 2007-07-14 15:42:50 +10:00
xfs_iops.c
xfs_iops.h
xfs_linux.h [XFS] Concurrent Multi-File Data Streams 2007-07-14 15:40:53 +10:00
xfs_lrw.c sendfile: remove .sendfile from filesystems that use generic_file_sendfile() 2007-07-10 08:04:13 +02:00
xfs_lrw.h sendfile: remove .sendfile from filesystems that use generic_file_sendfile() 2007-07-10 08:04:13 +02:00
xfs_stats.c
xfs_stats.h
xfs_super.c [XFS] Fix remount,readonly path to flush everything correctly. 2007-07-14 15:35:58 +10:00
xfs_super.h
xfs_sysctl.c [XFS] Concurrent Multi-File Data Streams 2007-07-14 15:40:53 +10:00
xfs_sysctl.h [XFS] Concurrent Multi-File Data Streams 2007-07-14 15:40:53 +10:00
xfs_version.h
xfs_vfs.c
xfs_vfs.h [XFS] Fix remount,readonly path to flush everything correctly. 2007-07-14 15:35:58 +10:00
xfs_vnode.c
xfs_vnode.h [XFS] XFS should not be looking at filp reference counts 2007-07-14 15:37:37 +10:00