projects
/
qemu-gpiodev
/
libfuse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd9bf9c
)
Fix mounting over symlink
author
Miklos Szeredi
<miklos@szeredi.hu>
Mon, 9 Jun 2008 10:21:28 +0000
(10:21 +0000)
committer
Miklos Szeredi
<miklos@szeredi.hu>
Mon, 9 Jun 2008 10:21:28 +0000
(10:21 +0000)
ChangeLog
patch
|
blob
|
history
lib/mount.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index 7a2344eccc0cec447d9d9f3101b008320c8f81a2..411df3c88acad15f506aa8f9caf03d949128030a 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,7
@@
+2008-05-23 Miklos Szeredi <miklos@szeredi.hu>
+
+ * Fix mounting over symlink. Reported by Szabolcs Szakacsits
+
2008-04-09 Miklos Szeredi <miklos@szeredi.hu>
* Update warning message for missing newline at end of fuse.conf
diff --git
a/lib/mount.c
b/lib/mount.c
index a882d3e276ac072ad3b31fc0f1f85fd3a1e62829..941644f9369c5445d8162f945e638e13f0622bbf 100644
(file)
--- a/
lib/mount.c
+++ b/
lib/mount.c
@@
-401,7
+401,7
@@
static int fuse_mount_sys(const char *mnt, struct mount_opts *mo,
return -1;
}
- res =
l
stat(mnt, &stbuf);
+ res = stat(mnt, &stbuf);
if (res == -1) {
fprintf(stderr ,"fuse: failed to access mountpoint %s: %s\n",
mnt, strerror(errno));