patch-2.3.40 linux/fs/super.c

Next file: linux/fs/ufs/super.c
Previous file: linux/fs/smbfs/ioctl.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.39/linux/fs/super.c linux/fs/super.c
@@ -932,7 +932,6 @@
 /*
  * Alters the mount flags of a mounted file system. Only the mount point
  * is used as a reference - file system type and the device are ignored.
- * FS-specific mount options can't be altered by remounting.
  */
 
 static int do_remount_sb(struct super_block *sb, int flags, char *data)
@@ -1174,7 +1173,7 @@
 #endif
 
 	bdev = bdget(kdev_t_to_nr(ROOT_DEV));
-	if (!bdget)
+	if (!bdev)
 		panic(__FUNCTION__ ": unable to allocate root device");
 	mode = FMODE_READ;
 	if (!(root_mountflags & MS_RDONLY))

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)