]> git.kernelconcepts.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:37:10 +0000 (11:37 -0700)
commitb9d493f10e0b20db0976506d4e3a31857d228051
tree0bd624df8ecd87d78b18e92634dadb09772193c3
parent16c772d85903aa71be9a5e80b3c159ee8dc9ebe0
[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