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/