• Alexander Viro's avatar
    [PATCH] restoring block size upon umount · c0b88a09
    Alexander Viro authored
    get_sb_bdev() stores original block size in ->s_old_blocksize and
    kill_block_super() restores it.
    
    This kills 99% of crap with "oh, I've mounted/umounted that device and
    its behaviour had changed" (remaining 1% can be dealt in pretty similar
    ways; ideally I'd like to see ioctls that get/set block size dead and
    gone).
    c0b88a09
inode.c 28.4 KB