• Artem Bityutskiy's avatar
    UBIFS: make debugfs files non-seekable · 1bbfc848
    Artem Bityutskiy authored
    Turn the debufs files UBIFS maintains into non-seekable. Indeed, none
    of them is supposed to be seek'ed.
    
    Do this by making the '.lseek()' handler to be 'no_llseek()' and by
    using 'nonseekable_open()' in the '.open()' operation.
    
    This does mean an API break but this debugging API is only used by a couple
    of test scripts which do not rely in the 'llseek()' operation.
    Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
    1bbfc848
debug.c 77.3 KB