Eddie Horng: > I printed some logs of above test case, looks like my trace in initial post > is not exactly correct, d_invalidate is not directly call from mkdir > syscall, but I think mkdir triggers nfsd send a changed file handler then > d_invalidate is eventually invoked.
I don't think d_drop() is a problem. It is an expected behaviour. Your problem looks existing after d_drop(). VFS should re-lookup it since the old dentry is not valid anymore and gone. Would you trace the behaviour after d_drop()? J. R. Okajima ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot