xfs
[Top] [All Lists]

Re: [DMAPI] code error in dm_ip_to_handle()

To: Aurelien Degremont - Stagiaire <degremont@xxxxxxxxxxx>
Subject: Re: [DMAPI] code error in dm_ip_to_handle()
From: Dean Roehrich <roehrich@xxxxxxx>
Date: Tue, 17 May 2005 20:47:42 -0500
Cc: linux-xfs@xxxxxxxxxxx
Sender: linux-xfs-bounce@xxxxxxxxxxx
>From:  Aurelien Degremont - Stagiaire <degremont@xxxxxxxxxxx>
>It was really a good idea to fix this since I found, in the dmapi user 
>space library, in the parse_handle() function, that you copy the opaque 
>buffer ha_fid in a xfs_fid2_t structure (argh ! an xfs reference in a 
>code which is supposed to be independent :)). And from this xfs_fid2, 
>the igen and ino are extracted even if the ha_fid is supposed to be 
>opaque ! The igen and ino number should have been extracted using FS 
>specific call (from fsys_vector).
>
>But, now this is solved, fortunately :) since we used dm_fid_t.

Can you give me a patch for the library to convert it from xfs_fid2_t to
dm_fid_t?

Let XFS continue to use xfs_fid2_t.

Dean


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