xfs
[Top] [All Lists]

Re: [PATCH] xfs_dm_rdwr() needs to pass a vfsmount to dentry_open()

To: Lachlan McIlroy <lachlan@xxxxxxx>
Subject: Re: [PATCH] xfs_dm_rdwr() needs to pass a vfsmount to dentry_open()
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Fri, 16 May 2008 01:10:23 -0400
Cc: xfs-dev <xfs-dev@xxxxxxx>, xfs-oss <xfs@xxxxxxxxxxx>
In-reply-to: <482CE39F.9050404@sgi.com>
References: <482CE39F.9050404@sgi.com>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.17 (2007-11-01)
On Fri, May 16, 2008 at 11:30:07AM +1000, Lachlan McIlroy wrote:
> --- fs/xfs/xfs_mount.h_1.265  2008-05-15 13:23:49.000000000 +1000
> +++ fs/xfs/xfs_mount.h        2008-05-15 13:21:50.000000000 +1000
> @@ -337,6 +337,7 @@ typedef struct xfs_mount {
>       spinlock_t              m_sync_lock;    /* work item list lock */
>       int                     m_sync_seq;     /* sync thread generation no. */
>       wait_queue_head_t       m_wait_single_sync_task;
> +     struct vfsmount         *m_vfsmount;
> } xfs_mount_t;

there can be multiple vfsmounts for a single xfs_mount.  In addition to
that please don't mess up core xfs for dmapi braindamage.


<Prev in Thread] Current Thread [Next in Thread>