All of lore.kernel.org
 help / color / mirror / Atom feed
* first access fails with ENOENT after autofs started
@ 2008-01-29  9:36 wengang wang
  2008-01-29 15:28 ` Ian Kent
  0 siblings, 1 reply; 6+ messages in thread
From: wengang wang @ 2008-01-29  9:36 UTC (permalink / raw)
  To: autofs

Hi experts,

In RHEL kernel 2.6.18-53 and mainline kernel 2.6.24,
in function autofs4_lookup() in fs/autofs4/root.c,
if dentry is not found in function autofs4_lookup_unhashed(),
a d_instantiate() is done on the dentry passed as parameter instead of 
d_add().

seems this cause a problem that the first access just after autofs 
started to
/path/to/<autofsMountPoint>/<nfsMountPoint> fail with the error ENOENT.

If I rolled back to use d_add(), there is no such problem.
Is this a bug or I omitted something?

thanks,
wengang.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-02-04  5:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-29  9:36 first access fails with ENOENT after autofs started wengang wang
2008-01-29 15:28 ` Ian Kent
2008-01-30  3:32   ` wengang wang
2008-01-30  4:05     ` Ian Kent
2008-01-30  5:09       ` wengang wang
2008-02-04  5:25         ` junpyo.kim

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.