]> git.neil.brown.name Git - history.git/commit
[PATCH] [13/13] quota-13-ioctl
authorJan Kara <jack@suse.cz>
Mon, 20 May 2002 02:34:49 +0000 (19:34 -0700)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Mon, 20 May 2002 02:34:49 +0000 (19:34 -0700)
commitad447df32d4f9fb48ecb91c7bf1c7eb41f2acc0e
tree1ac83e270f6429dabd054d98b341358be2aa056c
parent1c5bbffec39a2c2342b0b49da916c9a9c147f0d5
[PATCH] [13/13] quota-13-ioctl

This patch implements ioctl() for getting space used by file.
I agree it's ioctl() abuse, it doesn't work on links and has
other ugly properties. Better would be to change 'struct stat'
but changing it just due to this is overkill and it will take
some time before there will be enough changes which will provoke
yet another struct stat :). So this is temporary solution...
If you don't like it, simply reject it. The function it provides
is not fundamental...

So that should be all patches. Any comments (or decision about
including/not including) welcome.
Honza
fs/ioctl.c
include/asm-alpha/ioctls.h
include/asm-cris/ioctls.h
include/asm-i386/ioctls.h
include/asm-ia64/ioctls.h
include/asm-m68k/ioctls.h
include/asm-parisc/ioctls.h
include/asm-sh/ioctls.h
include/asm-sparc/ioctls.h
include/asm-sparc64/ioctls.h