From: OGAWA Hirofumi Date: Wed, 15 Oct 2008 22:50:28 +0000 (+0900) Subject: [PATCH vfs-2.6 3/6] vfs: add __d_instantiate() helper X-Git-Tag: v2.6.28-rc1~24^2~12 X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=360da90029196c9449bc61e5a07ce8404e4cba57;hp=360da90029196c9449bc61e5a07ce8404e4cba57;p=linux-2.6-omap-h63xx.git [PATCH vfs-2.6 3/6] vfs: add __d_instantiate() helper This adds __d_instantiate() for users which is already taking dcache_lock, and replace with it. The part of d_add_ci() isn't equivalent. But it should be needed fsnotify_d_instantiate() actually, because the path is to add the inode to negative dentry. fsnotify_d_instantiate() should be called after change from negative to positive. Signed-off-by: OGAWA Hirofumi ---