From 11ab36cfdf8141d562fb2116c539ee2b1d9a070f Mon Sep 17 00:00:00 2001 From: phil Date: Thu, 26 Feb 2004 08:16:40 +0000 Subject: [PATCH] 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. --- lustre/llite/llite_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.8.3.1