From: phil Date: Thu, 26 Feb 2004 08:16:40 +0000 (+0000) Subject: All of the previously reported strangeness was caused by an extra X-Git-Tag: v1_7_0_51~2^20~15 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=11ab36cfdf8141d562fb2116c539ee2b1d9a070f;p=fs%2Flustre-release.git All of the previously reported strangeness was caused by an extra dput and a missing mntget -- NB: dentry_open inherits the references from the nameidata, so in this case we need to pass in extra dentry and vfsmount refs. --- diff --git a/lustre/llite/llite_internal.h b/lustre/llite/llite_internal.h index 2cd2d5f..4ad7333 100644 --- a/lustre/llite/llite_internal.h +++ b/lustre/llite/llite_internal.h @@ -242,7 +242,7 @@ void ll_try_done_writing(struct inode *inode); void ll_queue_done_writing(struct inode *inode); void ll_close_thread_shutdown(struct ll_close_queue *lcq); int ll_close_thread_start(struct ll_close_queue **lcq_ret); -int ll_dir_process_mount_object(struct dentry *, struct nameidata *); +int ll_dir_process_mount_object(struct dentry *, struct vfsmount *); /* generic */ #define LL_SUPER_MAGIC 0x0BD00BD0