aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fuse_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fuse_i.h')
-rw-r--r--kernel/fuse_i.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/kernel/fuse_i.h b/kernel/fuse_i.h
index 27d8eb3..262e05d 100644
--- a/kernel/fuse_i.h
+++ b/kernel/fuse_i.h
@@ -77,7 +77,7 @@ struct fuse_out {
struct fuse_out_arg args[3];
};
-#define FUSE_IN_INIT { {0, 0, 0}, 0}
+#define FUSE_IN_INIT { {0, 0, 0, current->fsuid, current->fsgid}, 0}
#define FUSE_OUT_INIT { {0, 0}, 0, 0}
/**
@@ -178,6 +178,11 @@ void request_send(struct fuse_conn *fc, struct fuse_in *in,
*/
int request_send_noreply(struct fuse_conn *fc, struct fuse_in *in);
+/**
+ * Get the attributes of a file
+ */
+int fuse_getattr(struct inode *inode);
+
/*
* Local Variables:
* indent-tabs-mode: t