Messages in this thread | | | Date | Tue, 24 Oct 2006 16:01:25 +0200 | From | Frank van Maarseveen <> | Subject | automount nfs: mkdir_path /net/host/dir failed: Read-only file system |
| |
On Mon, Oct 23, 2006 at 11:23:29AM +0200, Thomas Zeitlhofer wrote: > > there is a problem in 2.6.18/.1 when mkdir is called for an existing > directory on a read-only mounted NFS filesystem. [...] > As a consequence of 1), autofs does not work with mountpoints on NFS
I'm hitting this regression too
> So please consider this patch for the next -stable release: > > diff --git a/fs/namei.c b/fs/namei.c > index 432d6bc..5201d77 100644 > --- a/fs/namei.c > +++ b/fs/namei.c > @@ -1774,8 +1774,6 @@ struct dentry *lookup_create(struct name > if (nd->last_type != LAST_NORM) > goto fail; > nd->flags &= ~LOOKUP_PARENT; > - nd->flags |= LOOKUP_CREATE; > - nd->intent.open.flags = O_EXCL; > > /* > * Do the final lookup.
yep, fixes it for me. Thankx.
-- Frank - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |