]> git.baikalelectronics.ru Git - kernel.git/commit
fuse: fix poll notify
authorMiklos Szeredi <mszeredi@suse.cz>
Mon, 26 Jan 2009 14:00:59 +0000 (15:00 +0100)
committerMiklos Szeredi <mszeredi@suse.de>
Mon, 26 Jan 2009 14:00:59 +0000 (15:00 +0100)
commitd3e2beb70b37108554e1486e1534f1ca0dc62632
tree60a7f1eee203f07db6f2a9d890b8ec78f190ea57
parent3c34ad8a969b65f3b691543f0a53f1af99dc0a59
fuse: fix poll notify

Move fuse_copy_finish() to before calling fuse_notify_poll_wakeup().
This is not a big issue because fuse_notify_poll_wakeup() should be
atomic, but it's cleaner this way, and later uses of notification will
need to be able to finish the copying before performing some actions.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
fs/fuse/dev.c