* [PATCH] libhandle: add fd_to_handle to handle.h
@ 2015-04-06 22:43 Sage Weil
2015-04-06 23:42 ` Dave Chinner
0 siblings, 1 reply; 2+ messages in thread
From: Sage Weil @ 2015-04-06 22:43 UTC (permalink / raw)
To: xfs; +Cc: Sage Weil
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] libhandle: add fd_to_handle to handle.h
2015-04-06 22:43 [PATCH] libhandle: add fd_to_handle to handle.h Sage Weil
@ 2015-04-06 23:42 ` Dave Chinner
0 siblings, 0 replies; 2+ messages in thread
From: Dave Chinner @ 2015-04-06 23:42 UTC (permalink / raw)
To: Sage Weil; +Cc: xfs
On Mon, Apr 06, 2015 at 03:43:01PM -0700, Sage Weil wrote:
> It's on the man page but strangely missing from the header.
>
> Signed-off-by: Sage Weil <sage@redhat.com>
It was missed when the function was merged from the Irix userspace
xfs-cmds code base back in 2005. Nobody has noticed since then, so
clearly it is a well used function. ;)
Reviewed-by: Dave Chinner <dchinner@redhat.com>
--
Dave Chinner
david@fromorbit.com
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-06 23:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-06 22:43 [PATCH] libhandle: add fd_to_handle to handle.h Sage Weil
2015-04-06 23:42 ` Dave Chinner
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.