kernel-fxtec-pro1x/include/asm-m68k
Takashi Sato abcb6c9fd1 [PATCH] 2TB files: st_blocks is invalid when calling stat64
This patch series fixes the following problems on 32 bits architecture.

o stat64 returns the lower 32 bits of blocks, although userland st_blocks
  has 64 bits, because i_blocks has only 32 bits.  The ioctl with FIOQSIZE has
  the same problem.

o As Dave Kleikamp said, making >2TB file on JFS results in writing an
  invalid block number to disk inode.  The cause is the same as above too.

o In generic quota code dquot_transfer(), the file usage is calculated from
  i_blocks via inode_get_bytes().  If the file is over 2TB, the change of
  usage is less than expected.  The cause is the same as above too.

o As Trond Myklebust said, statfs64's entries related to blocks are invalid
  on statfs64 for a network filesystem which has more than 2^32-1 blocks with
  CONFIG_LBD disabled.  [PATCH 3/3]

We made patches to fix problems that occur when handling a large filesystem
and a large file.  It was discussed on the mails titled "stat64 for over 2TB
file returned invalid st_blocks".

Signed-off-by: Takashi Sato <sho@tnes.nec.co.jp>
Cc: Dave Kleikamp <shaggy@austin.ibm.com>
Cc: Jan Kara <jack@ucw.cz>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-26 08:57:00 -08:00
..
a.out.h
adb.h
adb_iop.h
amigahw.h [PATCH] m68k: namespace pollution fix (custom->amiga_custom) 2006-01-12 09:09:00 -08:00
amigaints.h [PATCH] m68k: static vs. extern in amigaints.h 2006-01-12 09:09:01 -08:00
amigayle.h
amipcmcia.h
apollodma.h
apollohw.h
atafd.h
atafdreg.h
atari_acsi.h
atari_joystick.h
atari_SLM.h
atari_stdma.h
atari_stram.h
atarihw.h
atariints.h
atarikb.h
atomic.h [PATCH] atomic: add_unless cmpxchg optimise 2006-03-23 07:38:17 -08:00
auxvec.h [PATCH] auxiliary vector cleanups 2005-09-07 16:57:21 -07:00
bitops.h [FLS64]: generic version 2006-01-03 13:11:06 -08:00
blinken.h
bootinfo.h
bug.h
bugs.h
bvme6000hw.h
byteorder.h
cache.h [PATCH] Kill L1_CACHE_SHIFT_MAX 2006-01-08 20:13:39 -08:00
cachectl.h
cacheflush.h [PATCH] m68k: move cache functions into separate file 2005-09-05 00:06:19 -07:00
checksum.h [PATCH] m68k: checksum __user annotations 2006-01-12 09:09:03 -08:00
contregs.h
cputime.h
current.h
delay.h
div64.h
dma-mapping.h
dma.h
dsp56k.h [PATCH] m68k: dsp56k __user annotations 2006-01-12 09:09:04 -08:00
dvma.h
elf.h
emergency-restart.h [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
entry.h
errno.h
fbio.h
fcntl.h [PATCH] Clean up struct flock64 definitions 2005-09-07 16:57:38 -07:00
floppy.h [PATCH] m68k: NULL noise removal 2006-01-12 09:09:04 -08:00
fpu.h
futex.h [PATCH] consolidate asm/futex.h 2006-01-08 20:13:39 -08:00
hardirq.h [PATCH] m68k: compile fix - hardirq checks were in wrong place 2006-01-12 09:08:59 -08:00
hp300hw.h
hw_irq.h
hwtest.h
ide.h
idprom.h
intersil.h
io.h [PATCH] m68k: basic iomem annotations 2006-01-12 09:09:02 -08:00
ioctl.h [PATCH] Generic ioctl.h 2006-01-10 08:01:34 -08:00
ioctls.h
ipc.h
ipcbuf.h
irq.h [PATCH] m68k: restore disable_irq_nosync() 2006-02-18 15:59:06 -05:00
kmap_types.h
linkage.h
local.h
mac_asc.h
mac_baboon.h
mac_iop.h
mac_mouse.h
mac_oss.h
mac_psc.h
mac_via.h
machdep.h [PATCH] m68k: kill mach_floppy_setup, convert to proper __setup() in drivers 2006-01-12 09:09:05 -08:00
machines.h
machw.h
macintosh.h
macints.h
math-emu.h
mc146818rtc.h
md.h
mman.h [PATCH] add asm-generic/mman.h 2006-02-15 15:32:22 -08:00
mmu.h
mmu_context.h
module.h
motorola_pgalloc.h
motorola_pgtable.h
movs.h
msgbuf.h
mutex.h [PATCH] mutex subsystem, add default include/asm-*/mutex.h files 2006-01-09 15:59:19 -08:00
mvme16xhw.h
mvme147hw.h
namei.h
nubus.h
openprom.h
oplib.h
page.h [PATCH] mm: consolidate get_order 2005-09-05 00:05:39 -07:00
page_offset.h
param.h
parport.h
pci.h [ACPI] PNPACPI vs sound IRQ 2005-07-12 00:03:30 -04:00
percpu.h
pgalloc.h
pgtable.h [PATCH] feature removal of io_remap_page_range() 2005-09-13 08:22:33 -07:00
poll.h [PATCH] POLLRDHUP/EPOLLRDHUP handling for half-closed devices notifications 2006-03-25 08:22:56 -08:00
posix_types.h
processor.h [PATCH] m68k: convert thread flags to use bit fields 2005-11-13 18:14:14 -08:00
ptrace.h
q40_master.h
q40ints.h
raw_io.h [PATCH] iomap_copy fallout (m68k) 2006-02-18 16:30:40 -05:00
resource.h
rtc.h
sbus.h
scatterlist.h
sections.h
segment.h
semaphore-helper.h
semaphore.h [PATCH] semaphore: Remove __MUTEX_INITIALIZER() 2005-10-30 17:37:27 -08:00
sembuf.h
serial.h [PATCH] Serial: Split 8250 port table (part 2) 2005-06-29 18:45:19 +01:00
setup.h
shm.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h [PATCH] m68k: signal __user annotations 2006-01-12 09:09:02 -08:00
socket.h [NET]: Introduce SO_{SND,RCV}BUFFORCE socket options 2005-08-29 15:31:35 -07:00
sockios.h
spinlock.h
stat.h [PATCH] 2TB files: st_blocks is invalid when calling stat64 2006-03-26 08:57:00 -08:00
statfs.h
string.h [PATCH] m68k: cleanup inline mem functions 2005-09-05 00:06:19 -07:00
sun3-head.h
sun3_pgalloc.h
sun3_pgtable.h [PATCH] m68k: bogus function argument types (sun3_pgtable.h) 2006-01-12 09:09:01 -08:00
sun3ints.h [PATCH] m68k: static vs. extern in sun3ints.h 2006-01-12 09:09:01 -08:00
sun3mmu.h
sun3x.h
sun3xflop.h [PATCH] m68k: NULL noise removal 2006-01-12 09:09:04 -08:00
sun3xprom.h
suspend.h
swim_iop.h
system.h
termbits.h
termios.h
thread_info.h [PATCH] missing helper - task_stack_page() 2006-01-12 09:08:50 -08:00
timex.h
tlb.h
tlbflush.h
topology.h
traps.h
types.h [PATCH] sab: consolidate kmem_bufctl_t 2005-09-05 00:05:48 -07:00
uaccess.h [PATCH] m68k: cast in strnlen switched to unsigned long 2006-01-12 09:09:04 -08:00
ucontext.h
unaligned.h
unistd.h [PATCH] unify sys_ptrace prototype 2005-10-30 17:37:20 -08:00
user.h
virtconvert.h
xor.h
zorro.h [PATCH] m68k: basic iomem annotations 2006-01-12 09:09:02 -08:00