[PATCH] restoring block size upon umount
authorAlexander Viro <viro@math.psu.edu>
Tue, 2 Apr 2002 09:17:27 +0000 (01:17 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Tue, 2 Apr 2002 09:17:27 +0000 (01:17 -0800)
commitc0b88a09a663b5bcda389b6f6b898881bb5f0dec
tree63e3fbe50d40205ff71a10462ca129c51a502be7
parent0d9d05765157ccf51057360e9e6c483771208d1f
[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).
fs/fat/inode.c
fs/hfs/super.c
fs/reiserfs/super.c
fs/super.c
include/linux/fs.h