summaryrefslogtreecommitdiffstats
path: root/fs/ntfs/fs.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1998-05-07 02:55:41 +0000
committerRalf Baechle <ralf@linux-mips.org>1998-05-07 02:55:41 +0000
commitdcec8a13bf565e47942a1751a9cec21bec5648fe (patch)
tree548b69625b18cc2e88c3e68d0923be546c9ebb03 /fs/ntfs/fs.c
parent2e0f55e79c49509b7ff70ff1a10e1e9e90a3dfd4 (diff)
o Merge with Linux 2.1.99.
o Fix ancient bug in the ELF loader making ldd crash. o Fix ancient bug in the keyboard code for SGI, SNI and Jazz.
Diffstat (limited to 'fs/ntfs/fs.c')
-rw-r--r--fs/ntfs/fs.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/fs/ntfs/fs.c b/fs/ntfs/fs.c
index d190b21e4..8a8fc563f 100644
--- a/fs/ntfs/fs.c
+++ b/fs/ntfs/fs.c
@@ -693,12 +693,9 @@ static void ntfs_put_super(struct super_block *sb)
ntfs_volume *vol;
ntfs_debug(DEBUG_OTHER, "ntfs_put_super\n");
- /* Ensure that nobody uses the super block anymore */
- lock_super(sb);
+
vol=NTFS_SB2VOL(sb);
- /* Tell the kernel that the super block is no more used */
- sb->s_dev = 0;
- unlock_super(sb);
+
ntfs_release_volume(vol);
if(vol->nls_map)
unload_nls(vol->nls_map);