xfs
[Top] [All Lists]

Re: TAKE - Add a dmapi<>fs hook to put a hold on a vnode/inode

To: Dean Roehrich <roehrich@xxxxxxx>
Subject: Re: TAKE - Add a dmapi<>fs hook to put a hold on a vnode/inode
From: Christoph Hellwig <hch@xxxxxx>
Date: Fri, 19 Jul 2002 19:05:54 +0200
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <200207191702.MAA80382@xxxxxxxxxxxxxxxxxxxxxx>; from roehrich@xxxxxxx on Fri, Jul 19, 2002 at 12:02:24PM -0500
References: <200207191702.MAA80382@xxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Fri, Jul 19, 2002 at 12:02:24PM -0500, Dean Roehrich wrote:
> Modid:  2.4.x-xfs:slinx:123364a
> linux/fs/xfs/xfs_dmapi.c - 1.71
>       - Add xfs_dm_obj_ref_hold(), as interface to VN_HOLD().
> 
> linux/include/linux/dmapi_kern.h - 1.15
>       - create DM_FSYS_OBJ_REF_HOLD and dm_fsys_obj_ref_hold_t.
> 
> linux/fs/xfs_dmapi/dmapi_private.h - 1.16
>       - Add dm_fsys_obj_ref_hold_t.
> 
> linux/fs/xfs_dmapi/dmapi_mountinfo.c - 1.8
>       - Add DM_FSYS_OBJ_REF_HOLD.

Wouldn't life be much simpler if dmapi gets moved back to fs/xfs/dmapi
and into the xfs module so it can access all those APIs directly?

The current code is of no use for other filesystems anyway..


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