From fabd0eff7abbe6d20788cf557f241f5fb545bad4 Mon Sep 17 00:00:00 2001 From: Will Sowerbutts Date: Mon, 26 Jan 2015 21:30:52 +0000 Subject: [PATCH] Kernel: Bug fix - do not zero the superblock magic number on unmount. --- Kernel/syscall_other.c | 1 - 1 file changed, 1 deletion(-) diff --git a/Kernel/syscall_other.c b/Kernel/syscall_other.c index ba1a6536..50c4ac2d 100644 --- a/Kernel/syscall_other.c +++ b/Kernel/syscall_other.c @@ -350,7 +350,6 @@ int16_t _umount(void) _sync(); - mnt->m_fs->s_mounted = 0; i_deref(mnt->m_fs->s_mntpt); /* Give back the buffer we pinned at mount time */ bfree((bufptr)mnt->m_fs, 2); -- 2.34.1