Re: [PATCH][mount-7-1-B] fixes to pre7-1 and more mount cleanups

From: David S. Miller (davem@redhat.com)
Date: Mon May 01 2000 - 20:06:16 EST


Alexander, there seems to be a problem still with the mntent changes
in pre7-1. For example, if you create a kernel thread during bootup
without CLONE_FS, the __copy_fs_struct will barf on the NULL
rootmnt/root/pwdmnt/pwd members coming from INIT_FS. I actually
have this happening on Sparc64 with pre7-1 which is how I found
the problem.

I think to fix this, mntget/mntput should be defined analogously to
dget/dput in that they just do nothing if the argument is NULL.

Later,
David S. Miller
davem@redhat.com

-
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/



This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:09 EST