<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/hfsplus/ioctl.c, branch linux-2.6.37.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2010-10-25T18:39:07Z</updated>
<entry>
<title>hfsplus: fix double lock typo in ioctl</title>
<updated>2010-10-25T18:39:07Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2010-10-25T18:39:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e50fb58b5b3548e578d3b74ff15aeb7d9a496839'/>
<id>urn:sha1:e50fb58b5b3548e578d3b74ff15aeb7d9a496839</id>
<content type='text'>
This was supposed to be a mutex_unlock() instead of a mutex_lock().

Signed-off-by: Dan Carpenter &lt;error27@gmail.com&gt;
Signed-off-by: Christoph Hellwig &lt;hch@tuxera.com&gt;
</content>
</entry>
<entry>
<title>hfsplus: fix getxattr return value</title>
<updated>2010-10-15T12:45:00Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2010-10-15T12:45:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=46bf36ecec79bbe5373ef68f0ed36cbf62e03482'/>
<id>urn:sha1:46bf36ecec79bbe5373ef68f0ed36cbf62e03482</id>
<content type='text'>
We need to support -EOPNOTSUPP for attributes that are not supported to
match other filesystems and allow userspace to detect if Posix ACLs
are supported or not.  setxattr already gets this right.

Signed-off-by: Christoph Hellwig &lt;hch@tuxera.com&gt;
</content>
</entry>
<entry>
<title>hfsplus: remove superflous rootflags field in hfsplus_inode_info</title>
<updated>2010-10-14T13:54:33Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2010-10-14T13:54:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=722c55d13e7296cc62ed8a38f926a915ff32e4ea'/>
<id>urn:sha1:722c55d13e7296cc62ed8a38f926a915ff32e4ea</id>
<content type='text'>
The rootflags field in hfsplus_inode_info only caches the immutable and
append-only flags in the VFS inode, so we can easily get rid of it.

Signed-off-by: Christoph Hellwig &lt;hch@tuxera.com&gt;
</content>
</entry>
<entry>
<title>hfsplus: fix HFSPLUS_I calling convention</title>
<updated>2010-10-01T03:43:31Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2010-10-01T03:43:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6af502de224c3742936d54eee7e3690c09822934'/>
<id>urn:sha1:6af502de224c3742936d54eee7e3690c09822934</id>
<content type='text'>
HFSPLUS_I doesn't return a pointer to the hfsplus-specific inode
information like all other FOO_I macros, but dereference the pointer in a way
that made it look like a direct struct derefence.  This only works as long
as the HFSPLUS_I macro is used directly and prevents us from keepig a local
hfsplus_inode_info pointer.  Fix the calling convention and introduce a local
hip variable in all functions that use it constantly.

Signed-off-by: Christoph Hellwig &lt;hch@tuxera.com&gt;
</content>
</entry>
<entry>
<title>hfsplus: fix HFSPLUS_SB calling convention</title>
<updated>2010-10-01T03:42:59Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2010-10-01T03:42:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dd73a01a30d729e8fa6f829c4582650e258e36f9'/>
<id>urn:sha1:dd73a01a30d729e8fa6f829c4582650e258e36f9</id>
<content type='text'>
HFSPLUS_SB doesn't return a pointer to the hfsplus-specific superblock
information like all other FOO_SB macros, but dereference the pointer in a way
that made it look like a direct struct derefence.  This only works as long
as the HFSPLUS_SB macro is used directly and prevents us from keepig a local
hfsplus_sb_info pointer.  Fix the calling convention and introduce a local
sbi variable in all functions that use it constantly.

Signed-off-by: Christoph Hellwig &lt;hch@tuxera.com&gt;
</content>
</entry>
<entry>
<title>hfsplus: protect setflags using i_mutex</title>
<updated>2010-10-01T03:41:35Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2010-10-01T03:41:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6333816ade7e04a96ec0a34a8378c455e4f7c4dd'/>
<id>urn:sha1:6333816ade7e04a96ec0a34a8378c455e4f7c4dd</id>
<content type='text'>
Use i_mutex for protecting against concurrent setflags ioctls like in
other filesystems and get rid of the BKL in hfsplus_ioctl.

Signed-off-by: Christoph Hellwig &lt;hch@tuxera.com&gt;
</content>
</entry>
<entry>
<title>hfsplus: split hfsplus_ioctl</title>
<updated>2010-10-01T03:41:31Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2010-10-01T03:41:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=94744567fef9602c3d8218a1d8f58c04cce354f6'/>
<id>urn:sha1:94744567fef9602c3d8218a1d8f58c04cce354f6</id>
<content type='text'>
Give each ioctl command a function of it's own.

Signed-off-by: Christoph Hellwig &lt;hch@tuxera.com&gt;
</content>
</entry>
<entry>
<title>hfsplus: fix BKL leak in hfsplus_ioctl</title>
<updated>2010-10-01T03:41:27Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2010-10-01T03:41:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=249e6353001e407edf5c9a74482ecfca90c8ff33'/>
<id>urn:sha1:249e6353001e407edf5c9a74482ecfca90c8ff33</id>
<content type='text'>
Currenly the HFSPLUS_IOC_EXT2_GETFLAGS case never unlocks the BKL, which
can lead to easily reproduced lockups when doing multiple GETFLAGS ioctls.

Fix this by only taking the BKL for the HFSPLUS_IOC_EXT2_SETFLAGS case
as neither HFSPLUS_IOC_EXT2_GETFLAGS not the default error case needs it.

Signed-off-by: Christoph Hellwig &lt;hch@tuxera.com&gt;
</content>
</entry>
<entry>
<title>hfsplus: Push down BKL into ioctl function</title>
<updated>2010-05-17T03:27:03Z</updated>
<author>
<name>Arnd Bergmann</name>
</author>
<published>2010-04-27T14:24:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7cc4bcc6f152d365eb27acba5dcb7b38b36b3e50'/>
<id>urn:sha1:7cc4bcc6f152d365eb27acba5dcb7b38b36b3e50</id>
<content type='text'>
HFS is one of the remaining users of the -&gt;ioctl function, convert it
blindly to unlocked_ioctl by pushing down the BKL.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Frederic Weisbecker &lt;fweisbec@gmail.com&gt;
</content>
</entry>
<entry>
<title>[PATCH] r/o bind mounts: elevate write count for ioctls()</title>
<updated>2008-04-19T04:29:24Z</updated>
<author>
<name>Dave Hansen</name>
</author>
<published>2008-02-15T22:37:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=42a74f206b914db13ee1f5ae932dcd91a77c8579'/>
<id>urn:sha1:42a74f206b914db13ee1f5ae932dcd91a77c8579</id>
<content type='text'>
Some ioctl()s can cause writes to the filesystem.  Take these, and make them
use mnt_want/drop_write() instead.

[AV: updated]

Acked-by: Al Viro &lt;viro@ZenIV.linux.org.uk&gt;
Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Dave Hansen &lt;haveblue@us.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
</feed>
