PERFORCE change 193905 for review
Ilya Putsikau
ilya at FreeBSD.org
Sun May 29 11:09:36 UTC 2011
http://p4web.freebsd.org/@@193905?ac=10
Change 193905 by ilya at ilya_triton2011 on 2011/05/29 11:08:54
Rename fuse_send_init() and fuse_init_handler()
Affected files ...
.. //depot/projects/soc2011/ilya_fuse/fuse_module/fuse_internal.c#3 edit
.. //depot/projects/soc2011/ilya_fuse/fuse_module/fuse_internal.h#4 edit
.. //depot/projects/soc2011/ilya_fuse/fuse_module/fuse_vfsops.c#7 edit
Differences ...
==== //depot/projects/soc2011/ilya_fuse/fuse_module/fuse_internal.c#3 (text+ko) ====
@@ -26,7 +26,7 @@
#include "fuse_internal.h"
int
-fuse_init_handler(struct fuse_ticket *tick, struct uio *uio)
+fuse_internal_init_callback(struct fuse_ticket *tick, struct uio *uio)
{
int err = 0;
struct fuse_data *data = tick->tk_data;
@@ -85,7 +85,7 @@
}
void
-fuse_send_init(struct fuse_data *data, struct thread *td)
+fuse_internal_send_init(struct fuse_data *data, struct thread *td)
{
#if FUSE_KERNELABI_GEQ(7, 5)
struct fuse_init_in *fiii;
@@ -100,6 +100,6 @@
fiii->major = FUSE_KERNEL_VERSION;
fiii->minor = FUSE_KERNEL_MINOR_VERSION;
- fuse_insert_callback(fdi.tick, fuse_init_handler);
+ fuse_insert_callback(fdi.tick, fuse_internal_init_callback);
fuse_insert_message(fdi.tick);
}
==== //depot/projects/soc2011/ilya_fuse/fuse_module/fuse_internal.h#4 (text+ko) ====
@@ -36,7 +36,9 @@
};
-int fuse_init_handler(struct fuse_ticket *tick, struct uio *uio);
-void fuse_send_init(struct fuse_data *data, struct thread *td);
+/* fuse start/stop */
+
+int fuse_internal_init_callback(struct fuse_ticket *tick, struct uio *uio);
+void fuse_internal_send_init(struct fuse_data *data, struct thread *td);
#endif /* _FUSE_INTERNAL_H_ */
==== //depot/projects/soc2011/ilya_fuse/fuse_module/fuse_vfsops.c#7 (text+ko) ====
@@ -415,7 +415,7 @@
if (! secondary)
/* Now handshaking with daemon */
- fuse_send_init(data, td);
+ fuse_internal_send_init(data, td);
out:
if (err ) {
More information about the p4-projects
mailing list