diff options
Diffstat (limited to 'fs/ufs')
-rw-r--r-- | fs/ufs/ufs_super.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/ufs/ufs_super.c b/fs/ufs/ufs_super.c index 6a378fb13..7fdac8dd6 100644 --- a/fs/ufs/ufs_super.c +++ b/fs/ufs/ufs_super.c @@ -335,15 +335,13 @@ void ufs_put_super (struct super_block * sb) printk("ufs_put_super\n"); /* XXX */ } - lock_super (sb); + /* XXX - sync fs data, set state to ok, and flush buffers */ set_blocksize (sb->s_dev, BLOCK_SIZE); - sb->s_dev = 0; /* XXX - free allocated kernel memory */ /* includes freeing usb page */ - unlock_super (sb); MOD_DEC_USE_COUNT; return; |