Kernel: Bug fix - do not zero the superblock magic number on unmount.
authorWill Sowerbutts <will@sowerbutts.com>
Mon, 26 Jan 2015 21:30:52 +0000 (21:30 +0000)
committerWill Sowerbutts <will@sowerbutts.com>
Mon, 26 Jan 2015 21:37:11 +0000 (21:37 +0000)
Kernel/syscall_other.c

index ba1a653..50c4ac2 100644 (file)
@@ -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);