<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/cifs/dir.c, branch linux-3.6.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.6.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.6.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-11-26T20:14:07Z</updated>
<entry>
<title>cifs: Do not lookup hashed negative dentry in cifs_atomic_open</title>
<updated>2012-11-26T20:14:07Z</updated>
<author>
<name>Sachin Prabhu</name>
</author>
<published>2012-11-05T11:39:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=50d4bcc3701d7f6173e3e8727234a4dd81518a3d'/>
<id>urn:sha1:50d4bcc3701d7f6173e3e8727234a4dd81518a3d</id>
<content type='text'>
commit 3798f47aa276b332c30da499cb4df4577e2f8872 upstream.

We do not need to lookup a hashed negative directory since we have
already revalidated it before and have found it to be fine.

This also prevents a crash in cifs_lookup() when it attempts to rehash
the already hashed negative lookup dentry.

The patch has been tested using the reproducer at
https://bugzilla.redhat.com/show_bug.cgi?id=867344#c28

Reported-by: Vit Zahradka &lt;vit.zahradka@tiscali.cz&gt;
Signed-off-by: Sachin Prabhu &lt;sprabhu@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>CIFS: Fix cifs_do_create error hadnling</title>
<updated>2012-08-20T03:30:18Z</updated>
<author>
<name>Pavel Shilovsky</name>
</author>
<published>2012-08-17T14:02:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ea7b4887e7266b93fa0c203cc452a926a0fef4f0'/>
<id>urn:sha1:ea7b4887e7266b93fa0c203cc452a926a0fef4f0</id>
<content type='text'>
Commit d2c127197dfc0b2bae62a52e1e0d3e3ff493919e caused a regression
in cifs_do_create error handling. Fix this by closing a file handle
in the case of a get_inode_info(_unix) error. Also remove unnecessary
checks for newinode being NULL.

Signed-off-by: Pavel Shilovsky &lt;pshilovsky@samba.org&gt;
Signed-off-by: Steve French &lt;smfrench@gmail.com&gt;
</content>
</entry>
<entry>
<title>CIFS: Make CAP_* checks protocol independent</title>
<updated>2012-07-24T19:12:03Z</updated>
<author>
<name>Pavel Shilovsky</name>
</author>
<published>2012-07-13T09:58:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=29e20f9c65fae245d6fd4fce31cc5d01cde3d93f'/>
<id>urn:sha1:29e20f9c65fae245d6fd4fce31cc5d01cde3d93f</id>
<content type='text'>
Since both CIFS and SMB2 use ses-&gt;capabilities (server-&gt;capabilities)
field but flags are different we should make such checks protocol
independent.

Reviewed-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Pavel Shilovsky &lt;pshilovsky@samba.org&gt;
Signed-off-by: Steve French &lt;smfrench@gmail.com&gt;
</content>
</entry>
<entry>
<title>CIFS: Fix a wrong pointer in atomic_open</title>
<updated>2012-07-24T17:54:26Z</updated>
<author>
<name>Pavel Shilovsky</name>
</author>
<published>2012-07-09T12:09:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4b1241006c337f57745b0fc2f17b24f8009ca82d'/>
<id>urn:sha1:4b1241006c337f57745b0fc2f17b24f8009ca82d</id>
<content type='text'>
Commit 30d904947459cca2beb69e0110716f5248b31f2a caused a regression
in cifs open codepath.

Reviewed-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Pavel Shilovsky &lt;pshilovsky@samba.org&gt;
Signed-off-by: Steve French &lt;smfrench@gmail.com&gt;
</content>
</entry>
<entry>
<title>CIFS: Rename Get/FreeXid and make them work with unsigned int</title>
<updated>2012-07-24T15:25:08Z</updated>
<author>
<name>Pavel Shilovsky</name>
</author>
<published>2012-06-20T07:21:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6d5786a34d98bffb8ad50d8053d1e53231fe0636'/>
<id>urn:sha1:6d5786a34d98bffb8ad50d8053d1e53231fe0636</id>
<content type='text'>
Acked-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Pavel Shilovsky &lt;pshilovsky@samba.org&gt;
Signed-off-by: Steve French &lt;smfrench@gmail.com&gt;
</content>
</entry>
<entry>
<title>don't pass nameidata to -&gt;create()</title>
<updated>2012-07-14T12:34:47Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2012-06-10T22:05:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ebfc3b49a7ac25920cb5be5445f602e51d2ea559'/>
<id>urn:sha1:ebfc3b49a7ac25920cb5be5445f602e51d2ea559</id>
<content type='text'>
boolean "does it have to be exclusive?" flag is passed instead;
Local filesystem should just ignore it - the object is guaranteed
not to be there yet.

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>stop passing nameidata to -&gt;lookup()</title>
<updated>2012-07-14T12:34:32Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2012-06-10T21:13:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=00cd8dd3bf95f2cc8435b4cac01d9995635c6d0b'/>
<id>urn:sha1:00cd8dd3bf95f2cc8435b4cac01d9995635c6d0b</id>
<content type='text'>
Just the flags; only NFS cares even about that, but there are
legitimate uses for such argument.  And getting rid of that
completely would require splitting -&gt;lookup() into a couple
of methods (at least), so let's leave that alone for now...

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>stop passing nameidata * to -&gt;d_revalidate()</title>
<updated>2012-07-14T12:34:14Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2012-06-10T20:03:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0b728e1911cbe6e24020727c3870628b9653f32a'/>
<id>urn:sha1:0b728e1911cbe6e24020727c3870628b9653f32a</id>
<content type='text'>
Just the lookup flags.  Die, bastard, die...

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>make finish_no_open() return int</title>
<updated>2012-07-14T12:33:45Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2012-06-10T10:48:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e45198a6ac24bd2c4ad4a43b670c2f1a23dd2df3'/>
<id>urn:sha1:e45198a6ac24bd2c4ad4a43b670c2f1a23dd2df3</id>
<content type='text'>
namely, 1 ;-)  That's what we want to return from -&gt;atomic_open()
instances after finish_no_open().

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>kill struct opendata</title>
<updated>2012-07-14T12:33:39Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2012-06-22T08:40:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=30d904947459cca2beb69e0110716f5248b31f2a'/>
<id>urn:sha1:30d904947459cca2beb69e0110716f5248b31f2a</id>
<content type='text'>
Just pass struct file *.  Methods are happier that way...
There's no need to return struct file * from finish_open() now,
so let it return int.  Next: saner prototypes for parts in
namei.c

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
</feed>
