patch-2.2.0-pre7 linux/fs/autofs/inode.c
Next file: linux/fs/autofs/root.c
Previous file: linux/fs/autofs/dirhash.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Mon Jan 11 15:03:30 1999
- Orig file:
v2.2.0-pre6/linux/fs/autofs/inode.c
- Orig date:
Tue Dec 22 14:16:57 1998
diff -u --recursive --new-file v2.2.0-pre6/linux/fs/autofs/inode.c linux/fs/autofs/inode.c
@@ -34,8 +34,7 @@
static void autofs_put_super(struct super_block *sb)
{
- struct autofs_sb_info *sbi =
- (struct autofs_sb_info *) sb->u.generic_sbp;
+ struct autofs_sb_info *sbi = autofs_sbi(sb);
unsigned int n;
if ( !sbi->catatonic )
@@ -297,8 +296,7 @@
{
ino_t ino = inode->i_ino;
unsigned int n;
- struct autofs_sb_info *sbi =
- (struct autofs_sb_info *) inode->i_sb->u.generic_sbp;
+ struct autofs_sb_info *sbi = autofs_sbi(inode->i_sb);
/* Initialize to the default case (stub directory) */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov