[gvfs] fuse: Print file flags in vfs_write when debugging



commit be3ca03a847fbcbd489c094279636109211c6b9a
Author: Ondrej Holy <oholy redhat com>
Date:   Tue Jan 5 11:51:05 2016 +0100

    fuse: Print file flags in vfs_write when debugging

 client/gvfsfusedaemon.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/client/gvfsfusedaemon.c b/client/gvfsfusedaemon.c
index 54593db..d528f8f 100644
--- a/client/gvfsfusedaemon.c
+++ b/client/gvfsfusedaemon.c
@@ -1494,6 +1494,7 @@ vfs_write (const gchar *path, const gchar *buf, size_t len, off_t offset,
   gint   result = 0;
 
   debug_print ("vfs_write: %s\n", path);
+  debug_print ("vfs_write: flags=%o\n", fi->flags);
 
   if ((file = file_from_full_path (path)))
     {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]