[PATCH] restoring block size upon umount
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).
Showing
Please register or sign in to comment