summaryrefslogtreecommitdiff
path: root/src/mfs_vnops.c
diff options
context:
space:
mode:
authorUlf Lilleengen <lulf@pvv.ntnu.no>2008-11-27 12:55:27 +0100
committerUlf Lilleengen <lulf@pvv.ntnu.no>2008-11-27 12:55:27 +0100
commit338f166ea5ee9dfc959559a5743e0ce59a4826dc (patch)
tree20620018cb9ae32f00742c21d076b6bb0569800a /src/mfs_vnops.c
parent899ac8ed6a0186d5e30ae6e9286b08b4be8c3131 (diff)
- Missed fusever and makefile changes in the previous commit.
- Also put a consistent sorting on header includes: * System includes first * Then, standard C libraries * Then additiona libraries and our own headers.
Diffstat (limited to 'src/mfs_vnops.c')
-rwxr-xr-xsrc/mfs_vnops.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/mfs_vnops.c b/src/mfs_vnops.c
index 306b8fa..fc029e4 100755
--- a/src/mfs_vnops.c
+++ b/src/mfs_vnops.c
@@ -20,28 +20,29 @@
* A copy of the license can typically be found in COPYING
*/
-#define FUSE_USE_VERSION 26
-#include <stdio.h>
-#include <stdlib.h>
-#include <errno.h>
-#include <string.h>
-#include <err.h>
-
#include <sys/types.h>
#include <sys/time.h>
#include <dirent.h>
-#include <fuse.h>
#include <sys/param.h>
#include <sys/uio.h>
#include <unistd.h>
#include <pthread.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <errno.h>
+#include <string.h>
+#include <err.h>
+
+#include <fusever.h>
+#include <fuse.h>
#include <tag_c.h>
#include <musicfs.h>
#include <debug.h>
static int mfs_getattr (const char *path, struct stat *stbuf)
{
+
char *realpath;
int res;