• Jan Kara's avatar
    [PATCH] [13/13] quota-13-ioctl · ad447df3
    Jan Kara authored
    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
    ad447df3
ioctls.h 2.87 KB