<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/fs/fuse/dev.c, branch v2.6.30.4</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/fs/fuse/dev.c?h=v2.6.30.4</id>
<link rel='self' href='https://git.amat.us/linux/atom/fs/fuse/dev.c?h=v2.6.30.4'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2009-07-20T03:38:56Z</updated>
<entry>
<title>fuse: fix return value of fuse_dev_write()</title>
<updated>2009-07-20T03:38:56Z</updated>
<author>
<name>Csaba Henk</name>
<email>csaba@gluster.com</email>
</author>
<published>2009-06-29T01:26:53Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0457e83ceec2a048a330713a3ae828c2fcd6c9f2'/>
<id>urn:sha1:0457e83ceec2a048a330713a3ae828c2fcd6c9f2</id>
<content type='text'>
commit b4c458b3a23d76936e76678f2074b1528f129f7a upstream.

On 64 bit systems -- where sizeof(ssize_t) &gt; sizeof(int) -- the following test
exposes a bug due to a non-careful return of an int or unsigned value:

implement a FUSE filesystem which sends an unsolicited notification to
the kernel with invalid opcode. The respective write to /dev/fuse
will return (1 &lt;&lt; 32) - EINVAL with errno == 0 instead of -1 with
errno == EINVAL.

Signed-off-by: Miklos Szeredi &lt;mszeredi@suse.cz&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>fuse: fix poll notify</title>
<updated>2009-01-26T14:00:59Z</updated>
<author>
<name>Miklos Szeredi</name>
<email>mszeredi@suse.cz</email>
</author>
<published>2009-01-26T14:00:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f6d47a1761896dcd89e3184399a8962dff17267d'/>
<id>urn:sha1:f6d47a1761896dcd89e3184399a8962dff17267d</id>
<content type='text'>
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 &lt;mszeredi@suse.cz&gt;
</content>
</entry>
<entry>
<title>fuse: destroy bdi on umount</title>
<updated>2009-01-26T14:00:59Z</updated>
<author>
<name>Miklos Szeredi</name>
<email>mszeredi@suse.cz</email>
</author>
<published>2009-01-26T14:00:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=26c3679101dbccc054dcf370143941844ba70531'/>
<id>urn:sha1:26c3679101dbccc054dcf370143941844ba70531</id>
<content type='text'>
If a fuse filesystem is unmounted but the device file descriptor
remains open and a new mount reuses the old device number, then the
mount fails with EEXIST and the following warning is printed in the
kernel log:

  WARNING: at fs/sysfs/dir.c:462 sysfs_add_one+0x35/0x3d()
  sysfs: duplicate filename '0:15' can not be created

The cause is that the bdi belonging to the fuse filesystem was
destoryed only after the device file was released.  Fix this by
calling bdi_destroy() from fuse_put_super() instead.

Signed-off-by: Miklos Szeredi &lt;mszeredi@suse.cz&gt;
CC: stable@kernel.org
</content>
</entry>
<entry>
<title>Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse</title>
<updated>2009-01-07T01:01:20Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2009-01-07T01:01:20Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5fec8bdbf9a1c4df4ad3f20e52aa2d8caed490c8'/>
<id>urn:sha1:5fec8bdbf9a1c4df4ad3f20e52aa2d8caed490c8</id>
<content type='text'>
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse:
  fuse: clean up annotations of fc-&gt;lock
  fuse: fix sparse warning in ioctl
  fuse: update interface version
  fuse: add fuse_conn-&gt;release()
  fuse: separate out fuse_conn_init() from new_conn()
  fuse: add fuse_ prefix to several functions
  fuse: implement poll support
  fuse: implement unsolicited notification
  fuse: add file kernel handle
  fuse: implement ioctl support
  fuse: don't let fuse_req-&gt;end() put the base reference
  fuse: move FUSE_MINOR to miscdevice.h
  fuse: style fixes
</content>
</entry>
<entry>
<title>fuse: clean up annotations of fc-&gt;lock</title>
<updated>2008-12-02T13:49:42Z</updated>
<author>
<name>Harvey Harrison</name>
<email>harvey.harrison@gmail.com</email>
</author>
<published>2008-12-02T13:49:42Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5d9ec854bfb6f1e122b1d96b344164a71eac5be8'/>
<id>urn:sha1:5d9ec854bfb6f1e122b1d96b344164a71eac5be8</id>
<content type='text'>
Makes the existing annotations match the more common one per line style
and adds a few missing annotations.

Signed-off-by: Harvey Harrison &lt;harvey.harrison@gmail.com&gt;
Signed-off-by: Miklos Szeredi &lt;mszeredi@suse.cz&gt;
</content>
</entry>
<entry>
<title>fuse: add fuse_ prefix to several functions</title>
<updated>2008-11-26T11:03:55Z</updated>
<author>
<name>Tejun Heo</name>
<email>tj@kernel.org</email>
</author>
<published>2008-11-26T11:03:55Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=b93f858ab2a4bee779c360002f313ad6c3504cdc'/>
<id>urn:sha1:b93f858ab2a4bee779c360002f313ad6c3504cdc</id>
<content type='text'>
Add fuse_ prefix to request_send*() and get_root_inode() as some of
those functions will be exported for CUSE.  With or without CUSE
export, having the function names scoped is a good idea for
debuggability.

Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
Signed-off-by: Miklos Szeredi &lt;mszeredi@suse.cz&gt;
</content>
</entry>
<entry>
<title>fuse: implement poll support</title>
<updated>2008-11-26T11:03:55Z</updated>
<author>
<name>Tejun Heo</name>
<email>tj@kernel.org</email>
</author>
<published>2008-11-26T11:03:55Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=95668a69a4bb862063c4d28a746e55107dee7b98'/>
<id>urn:sha1:95668a69a4bb862063c4d28a746e55107dee7b98</id>
<content type='text'>
Implement poll support.  Polled files are indexed using kh in a RB
tree rooted at fuse_conn-&gt;polled_files.

Client should send FUSE_NOTIFY_POLL notification once after processing
FUSE_POLL which has FUSE_POLL_SCHEDULE_NOTIFY set.  Sending
notification unconditionally after the latest poll or everytime file
content might have changed is inefficient but won't cause malfunction.

fuse_file_poll() can sleep and requires patches from the following
thread which allows f_op-&gt;poll() to sleep.

  http://thread.gmane.org/gmane.linux.kernel/726176

Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
Signed-off-by: Miklos Szeredi &lt;mszeredi@suse.cz&gt;
</content>
</entry>
<entry>
<title>fuse: implement unsolicited notification</title>
<updated>2008-11-26T11:03:55Z</updated>
<author>
<name>Tejun Heo</name>
<email>tj@kernel.org</email>
</author>
<published>2008-11-26T11:03:55Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8599396b5062bf6bd2a0b433503849e2322df1c2'/>
<id>urn:sha1:8599396b5062bf6bd2a0b433503849e2322df1c2</id>
<content type='text'>
Clients always used to write only in response to read requests.  To
implement poll efficiently, clients should be able to issue
unsolicited notifications.  This patch implements basic notification
support.

Zero fuse_out_header.unique is now accepted and considered unsolicited
notification and the error field contains notification code.  This
patch doesn't implement any actual notification.

Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
Signed-off-by: Miklos Szeredi &lt;mszeredi@suse.cz&gt;
</content>
</entry>
<entry>
<title>fuse: don't let fuse_req-&gt;end() put the base reference</title>
<updated>2008-11-26T11:03:54Z</updated>
<author>
<name>Tejun Heo</name>
<email>tj@kernel.org</email>
</author>
<published>2008-11-26T11:03:54Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e9bb09dd6c5b8ec6a971ed6251df5eba3a4c8d3c'/>
<id>urn:sha1:e9bb09dd6c5b8ec6a971ed6251df5eba3a4c8d3c</id>
<content type='text'>
fuse_req-&gt;end() was supposed to be put the base reference but there's
no reason why it should.  It only makes things more complex.  Move it
out of -&gt;end() and make it the responsibility of request_end().

Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
Signed-off-by: Miklos Szeredi &lt;mszeredi@suse.cz&gt;
</content>
</entry>
<entry>
<title>fuse: style fixes</title>
<updated>2008-11-26T11:03:54Z</updated>
<author>
<name>Miklos Szeredi</name>
<email>mszeredi@suse.cz</email>
</author>
<published>2008-11-26T11:03:54Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=1729a16c2c92bbd9e54ac7cad3101fea2e073aa5'/>
<id>urn:sha1:1729a16c2c92bbd9e54ac7cad3101fea2e073aa5</id>
<content type='text'>
Fix coding style errors reported by checkpatch and others.  Uptdate
copyright date to 2008.

Signed-off-by: Miklos Szeredi &lt;mszeredi@suse.cz&gt;
</content>
</entry>
</feed>
