From: John Groves <John@Groves.net>
To: linux-xfs@oss.sgi.com
Cc: Dean Roehrich <roehrich@clink.americas.sgi.com>
Subject: XFS dmapi: dm_path_to_handle fails if the path is a directory
Date: Tue, 31 Oct 2006 17:21:20 -0600 [thread overview]
Message-ID: <4547DA70.4040107@Groves.net> (raw)
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
next reply other threads:[~2006-11-01 0:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-31 23:21 John Groves [this message]
2006-11-01 0:44 ` XFS dmapi: dm_path_to_handle fails if the path is a directory 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4547DA70.4040107@Groves.net \
--to=john@groves.net \
--cc=linux-xfs@oss.sgi.com \
--cc=roehrich@clink.americas.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.