xfs
[Top] [All Lists]

XFS dmapi: dm_path_to_handle fails if the path is a directory

To: linux-xfs@xxxxxxxxxxx
Subject: XFS dmapi: dm_path_to_handle fails if the path is a directory
From: John Groves <John@xxxxxxxxxx>
Date: Tue, 31 Oct 2006 17:21:20 -0600
Cc: Dean Roehrich <roehrich@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
I'm running up against a difficult situation because dm_path_to_handle does not return a handle, if the path is to a directory. Is this a known issue, or perhaps fixed in a recent version? Or is there another way get the handle of a directory by path? When any file type is renamed, I (for various reasons) *must* know not just the old & new parent handles, but also the handle of the renamed thingy. If the thingy is a directory, I'm stuck at the moment.

My test system has dmapi 2.2.1-5, which I don't think is current, but I can't seem to get access to the oss.sgi.com server to check.

Any advice or info appreciated. I'm willing to try and submit a patch, but I'd appreciate first knowing whether there was a specific reason or problem that led to the current behavior.

Thanks,
John Groves


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