]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] fuse: fix mknod of regular file
authorMiklos Szeredi <mszeredi@suse.cz>
Mon, 21 May 2007 09:39:58 +0000 (11:39 +0200)
committerChris Wright <chrisw@sous-sol.org>
Mon, 11 Jun 2007 18:36:44 +0000 (11:36 -0700)
commit87b4c2119d8bc677aed4f8717c8c81acbab9c167
tree57440dc7c69cc1952b0b010be1ab5ded9f88cc9a
parentae9e80bd6e189ce3947df348a06d6178fc323f9d
[PATCH] fuse: fix mknod of regular file

The wrong lookup flag was tested in ->create() causing havoc (error or
Oops) when a regular file was created with mknod() in a fuse
filesystem.

Thanks to J. Cameijo Cerdeira for the report.

Kernels 2.6.18 onward are affected.  Please apply to -stable as well.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/fuse/dir.c