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:
13e348f
)
Add missing context initialization in fuse_fs_chmod()
author
Miklos Szeredi
<miklos@szeredi.hu>
Tue, 18 Sep 2007 11:34:14 +0000
(11:34 +0000)
committer
Miklos Szeredi
<miklos@szeredi.hu>
Tue, 18 Sep 2007 11:34:14 +0000
(11:34 +0000)
ChangeLog
patch
|
blob
|
history
lib/fuse.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index 3ff5382b0f3d8211b25ebf89d682e65075c00bd6..ffa0e213ec560824b2563e1aff113db9ad72c8c8 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,8
@@
+2007-09-18 Miklos Szeredi <miklos@szeredi.hu>
+
+ * Add missing context initialization in fuse_fs_chmod(). Bug
+ found by "iohead"
+
2007-09-04 Philippe Elie <phil.el@wanadoo.fr>
* lib/fuse_lowlevel.c: fix a fuse_req leak in do_forget()
diff --git
a/lib/fuse.c
b/lib/fuse.c
index 99e20c3213a00c811ded9b2b04e57ddd1dac77e9..fe1fa9c77aeb2807569e3561aab2f1399b5152c0 100644
(file)
--- a/
lib/fuse.c
+++ b/
lib/fuse.c
@@
-1425,6
+1425,7
@@
static void fuse_lib_getattr(fuse_req_t req, fuse_ino_t ino,
int fuse_fs_chmod(struct fuse_fs *fs, const char *path, mode_t mode)
{
+ fuse_get_context()->private_data = fs->user_data;
if (fs->op.chmod)
return fs->op.chmod(path, mode);
else