public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* XFS dmapi: dm_path_to_handle fails if the path is a directory
@ 2006-10-31 23:21 John Groves
  2006-11-01  0:44 ` Vlad Apostolov
  0 siblings, 1 reply; 9+ messages in thread
From: John Groves @ 2006-10-31 23:21 UTC (permalink / raw)
  To: linux-xfs; +Cc: Dean Roehrich

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-11-05 22:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-31 23:21 XFS dmapi: dm_path_to_handle fails if the path is a directory John Groves
2006-11-01  0:44 ` Vlad Apostolov
2006-11-01  0:57   ` Vlad Apostolov
2006-11-03  1:00   ` John Groves
2006-11-03  2:41     ` Vlad Apostolov
2006-11-03  2:53       ` John Groves
2006-11-03  2:59         ` Vlad Apostolov
2006-11-03 14:57           ` John Groves
2006-11-05 22:37             ` Vlad Apostolov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox