Re: [patch] Bugfix for MinixFS.

Eleonora Autore (ely@ns1.avnet.co.uk)
Sun, 24 Oct 1999 19:30:23 +0100 (BST)


On Sun, 24 Oct 1999, Alexander Viro wrote:
> dir == NULL is impossible here. Check the callers.

ok, true - it is called from create/mkdir/mknod/symlink
and in all cases it would have paniced earlier if dir == NULL.

Therefore that if(!dir) can be dropped from minix_new_inode() safely.

Also, it could be dropped in ext2_new_inode(), I suppose?

Regards,
Tigran.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/