From: Sage Weil <sage@redhat.com>
To: xfs@oss.sgi.com
Cc: Sage Weil <sage@redhat.com>
Subject: [PATCH] libhandle: add fd_to_handle to handle.h
Date: Mon, 6 Apr 2015 15:43:01 -0700 [thread overview]
Message-ID: <1428360181-10401-1-git-send-email-sage@redhat.com> (raw)
It's on the man page but strangely missing from the header.
Signed-off-by: Sage Weil <sage@redhat.com>
---
include/handle.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/handle.h b/include/handle.h
index b211a2f..ee69a11 100644
--- a/include/handle.h
+++ b/include/handle.h
@@ -28,6 +28,7 @@ struct parent;
extern int path_to_handle (char *__path, void **__hanp, size_t *__hlen);
extern int path_to_fshandle (char *__path, void **__fshanp, size_t *__fshlen);
+extern int fd_to_handle (int fd, void **hanp, size_t *hlen);
extern int handle_to_fshandle (void *__hanp, size_t __hlen, void **__fshanp,
size_t *__fshlen);
extern void free_handle (void *__hanp, size_t __hlen);
--
1.7.9.5
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next reply other threads:[~2015-04-06 22:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-06 22:43 Sage Weil [this message]
2015-04-06 23:42 ` [PATCH] libhandle: add fd_to_handle to handle.h Dave Chinner
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=1428360181-10401-1-git-send-email-sage@redhat.com \
--to=sage@redhat.com \
--cc=xfs@oss.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox