Re: Small typo in fs/sysv/inode.c

Matthias Urlichs (smurf@work.noris.de)
12 Apr 1998 14:24:36 +0200


Eric Leblanc <jughead@generation.net> writes:
>
> By mistake, i compiled the sysV filesystem and noticed that it had an
> error while compiling. This patch should fix this. It was only a typo.
>
Actually, these sb->s_dev=0 lines, as well as all the lock_super /
unlock_super calls, seem to have vanished from most of the other file
systems, so I just deleted them (and the typo) here.

Is that correct?

> --- linux/fs/sysv/inode.c.old Mon Apr 6 23:34:43 1998
> +++ linux/fs/sysv/inode.c Tue Apr 7 01:10:21 1998
> @@ -495,7 +495,7 @@
> if (!sb->s_root) {
> printk("SysV FS: get root inode failed\n");
> sysv_put_super(sb);
> - sb->sb_dev = 0;
> + sb->s_dev = 0;
> unlock_super(sb);
> return NULL;
> }
>
>
>
> Eric Leblanc
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu

-- 
Matthias Urlichs
noris network GmbH

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu