diff options
| author | Jan Kara <jack@suse.cz> | 2002-05-19 19:34:49 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@penguin.transmeta.com> | 2002-05-19 19:34:49 -0700 |
| commit | ad447df32d4f9fb48ecb91c7bf1c7eb41f2acc0e (patch) | |
| tree | 1ac83e270f6429dabd054d98b341358be2aa056c /include/asm-cris | |
| parent | 1c5bbffec39a2c2342b0b49da916c9a9c147f0d5 (diff) | |
[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
Diffstat (limited to 'include/asm-cris')
| -rw-r--r-- | include/asm-cris/ioctls.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-cris/ioctls.h b/include/asm-cris/ioctls.h index 634628728762..21957ec44d7e 100644 --- a/include/asm-cris/ioctls.h +++ b/include/asm-cris/ioctls.h @@ -69,6 +69,7 @@ #define TIOCGICOUNT 0x545D /* read serial port inline interrupt counts */ #define TIOCGHAYESESP 0x545E /* Get Hayes ESP configuration */ #define TIOCSHAYESESP 0x545F /* Set Hayes ESP configuration */ +#define FIOQSIZE 0x5460 /* Used for packet mode */ #define TIOCPKT_DATA 0 |
