Re: [PATCH] fuse: return -EAGAIN if the connection has not been init'ed

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Miklos Szeredi
Date: Friday, November 13, 2009 - 6:55 am

On Fri, 13 Nov 2009, Eric Paris wrote:

OK, this is a different problem than what I thought.  Agreed, audit is
not doing anything wrong here.

The cause seems to be that fuse calls "mount -i -f ..." to add the
filesystem entry to /etc/mtab.  mount(8) then goes off and tries to
canonicalize the path, calling readlink() on the mountpoint.  Which is
unnecessary, really.  The path has already been canonicalized, but
unfortunately there's no way currently to tell this to mount.

In this light, the patch by Josef might be OK as a workaround, but
I'll look at better ways to fix this.

Josef, can you check whether the mtab is still correctly updated with
your patch?

Thanks,
Miklos
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] fuse: return -EAGAIN if the connection has not ..., Miklos Szeredi, (Fri Nov 13, 6:55 am)
Re: [fuse-devel] [PATCH] fuse: return -EAGAIN if the conne ..., Goswin von Brederlow, (Fri Nov 13, 9:51 am)