patch-2.1.54 linux/fs/inode.c
Next file: linux/fs/nfs/inode.c
Previous file: linux/fs/dcache.c
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Thu Sep 4 17:07:07 1997
- Orig file:
v2.1.53/linux/fs/inode.c
- Orig date:
Wed Sep 3 20:52:43 1997
diff -u --recursive --new-file v2.1.53/linux/fs/inode.c linux/fs/inode.c
@@ -563,23 +563,6 @@
} while (i);
}
-/*
- * Check whether we can mount.
- */
-int fs_may_mount(kdev_t dev)
-{
- return 1;
-}
-
-/*
- * Check whether we can unmount.
- */
-int fs_may_umount(struct super_block *sb, struct dentry * root)
-{
- shrink_dcache();
- return root->d_count == 1;
-}
-
/* This belongs in file_table.c, not here... */
int fs_may_remount_ro(struct super_block *sb)
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov