<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/cifs/link.c, branch linux-3.14.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.14.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.14.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-10-05T21:52:17Z</updated>
<entry>
<title>SMB3: Fix oops when creating symlinks on smb3</title>
<updated>2014-10-05T21:52:17Z</updated>
<author>
<name>Steve French</name>
</author>
<published>2014-09-15T04:27:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d51afb094e833d28085f2a6c35b179260d981bb2'/>
<id>urn:sha1:d51afb094e833d28085f2a6c35b179260d981bb2</id>
<content type='text'>
commit da80659d4aa758dc6935b10ec64513f0b67bc969 upstream.

We were not checking for symlink support properly for SMB2/SMB3
mounts so could oops when mounted with mfsymlinks when try
to create symlink when mfsymlinks on smb2/smb3 mounts

Signed-off-by: Steve French &lt;smfrench@gmail.com&gt;
CC: Sachin Prabhu &lt;sprabhu@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>fs/cifs: fix regression in cifs_create_mf_symlink()</title>
<updated>2014-07-09T18:18:27Z</updated>
<author>
<name>Björn Baumbach</name>
</author>
<published>2014-06-10T10:03:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2545a404c729dd4e425b7fff2e245677b8b402b6'/>
<id>urn:sha1:2545a404c729dd4e425b7fff2e245677b8b402b6</id>
<content type='text'>
commit a1d0b84c308d7fdfb67eb76498116a6c2fdda507 upstream.

commit d81b8a40e2ece0a9ab57b1fe1798e291e75bf8fc
("CIFS: Cleanup cifs open codepath")
changed disposition to FILE_OPEN.

Signed-off-by: Björn Baumbach &lt;bb@sernet.de&gt;
Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Cc: Pavel Shilovsky &lt;piastry@etersoft.ru&gt;
Cc: Steve French &lt;sfrench@samba.org&gt;
Signed-off-by: Steve French &lt;smfrench@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>cifs: Fix check for regular file in couldbe_mf_symlink()</title>
<updated>2014-01-31T15:06:43Z</updated>
<author>
<name>Sachin Prabhu</name>
</author>
<published>2014-01-31T14:27:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a9a315d41407cd1079eb815f4adae897cc08b0d2'/>
<id>urn:sha1:a9a315d41407cd1079eb815f4adae897cc08b0d2</id>
<content type='text'>
MF Symlinks are regular files containing content in a specified format.

The function couldbe_mf_symlink() checks the mode for a set S_IFREG bit
as a test to confirm that it is a regular file. This bit is also set for
other filetypes and simply checking for this bit being set may return
false positives.

We ensure that we are actually checking for a regular file by using the
S_ISREG macro to test instead.

Signed-off-by: Sachin Prabhu &lt;sprabhu@redhat.com&gt;
Reviewed-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Reported-by: Neil Brown &lt;neilb@suse.de&gt;
Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Steve French &lt;smfrench@gmail.com&gt;
</content>
</entry>
<entry>
<title>CIFS: Cleanup cifs open codepath</title>
<updated>2014-01-20T15:52:13Z</updated>
<author>
<name>Pavel Shilovsky</name>
</author>
<published>2014-01-16T11:53:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d81b8a40e2ece0a9ab57b1fe1798e291e75bf8fc'/>
<id>urn:sha1:d81b8a40e2ece0a9ab57b1fe1798e291e75bf8fc</id>
<content type='text'>
Rename CIFSSMBOpen to CIFS_open and make it take
cifs_open_parms structure as a parm.

Signed-off-by: Pavel Shilovsky &lt;piastry@etersoft.ru&gt;
Signed-off-by: Steve French &lt;smfrench@gmail.com&gt;
</content>
</entry>
<entry>
<title>cifs: move unix extension call to cifs_query_symlink()</title>
<updated>2014-01-20T06:14:05Z</updated>
<author>
<name>Sachin Prabhu</name>
</author>
<published>2013-11-27T13:27:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0ecdb4f572f6ab2219a01e3af349863f6e8b45af'/>
<id>urn:sha1:0ecdb4f572f6ab2219a01e3af349863f6e8b45af</id>
<content type='text'>
Unix extensions rigth now are only applicable to smb1 operations.
Move the check and subsequent unix extension call to the smb1
specific call to query_symlink() ie. cifs_query_symlink().

Signed-off-by: Sachin Prabhu &lt;sprabhu@redhat.com&gt;
Reviewed-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Steve French &lt;smfrench@gmail.com&gt;
</content>
</entry>
<entry>
<title>cifs: Re-order M-F Symlink code</title>
<updated>2014-01-20T06:14:02Z</updated>
<author>
<name>Sachin Prabhu</name>
</author>
<published>2013-11-25T17:09:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0f8dce1cb7454f8795b73c5695a28e7a21a57ba0'/>
<id>urn:sha1:0f8dce1cb7454f8795b73c5695a28e7a21a57ba0</id>
<content type='text'>
This patch makes cosmetic changes. We group similar functions together
and separate out the protocol specific functions.

Signed-off-by: Sachin Prabhu &lt;sprabhu@redhat.com&gt;
Reviewed-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Steve French &lt;smfrench@gmail.com&gt;
</content>
</entry>
<entry>
<title>cifs: Add create MFSymlinks to protocol ops struct</title>
<updated>2014-01-20T06:14:00Z</updated>
<author>
<name>Sachin Prabhu</name>
</author>
<published>2013-11-25T17:09:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cbb0aba6ff3ff5b64f094f81f4d99d2323c0afcc'/>
<id>urn:sha1:cbb0aba6ff3ff5b64f094f81f4d99d2323c0afcc</id>
<content type='text'>
Add a new protocol ops function create_mf_symlink and have
create_mf_symlink() use it.

This patchset moves the MFSymlink operations completely to the
ops structure so that we only use the right protocol versions when
querying or creating MFSymlinks.

Signed-off-by: Sachin Prabhu &lt;sprabhu@redhat.com&gt;
Reviewed-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Steve French &lt;smfrench@gmail.com&gt;
</content>
</entry>
<entry>
<title>cifs: use protocol specific call for query_mf_symlink()</title>
<updated>2014-01-20T06:13:56Z</updated>
<author>
<name>Sachin Prabhu</name>
</author>
<published>2013-11-25T17:09:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8205d1bb31af047c6893a4f9e86ed88cf5d6113d'/>
<id>urn:sha1:8205d1bb31af047c6893a4f9e86ed88cf5d6113d</id>
<content type='text'>
We have an existing protocol specific call query_mf_symlink() created
for check_mf_symlink which can also be used for query_mf_symlink().

Signed-off-by: Sachin Prabhu &lt;sprabhu@redhat.com&gt;
Reviewed-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Steve French &lt;smfrench@gmail.com&gt;
</content>
</entry>
<entry>
<title>cifs: Rename MF symlink function names</title>
<updated>2014-01-20T06:13:54Z</updated>
<author>
<name>Sachin Prabhu</name>
</author>
<published>2013-11-25T17:09:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cb084b1a9be34729bea23428c1a42f7d2f5defbc'/>
<id>urn:sha1:cb084b1a9be34729bea23428c1a42f7d2f5defbc</id>
<content type='text'>
Clean up camel case in functionnames.

Signed-off-by: Sachin Prabhu &lt;sprabhu@redhat.com&gt;
Reviewed-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Steve French &lt;smfrench@gmail.com&gt;
</content>
</entry>
<entry>
<title>cifs: Rename and cleanup open_query_close_cifs_symlink()</title>
<updated>2014-01-20T06:13:51Z</updated>
<author>
<name>Sachin Prabhu</name>
</author>
<published>2013-11-25T17:09:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b5be1a1c4c57a092cb60c709a0491d4ecead3d58'/>
<id>urn:sha1:b5be1a1c4c57a092cb60c709a0491d4ecead3d58</id>
<content type='text'>
Rename open_query_close_cifs_symlink to cifs_query_mf_symlink() to make
the name more consistent with other protocol version specific functions.

We also pass tcon as an argument to the function. This is already
available in the calling functions and we can avoid having to make an
unnecessary lookup.

Signed-off-by: Sachin Prabhu &lt;sprabhu@redhat.com&gt;
Reviewed-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Steve French &lt;smfrench@gmail.com&gt;
</content>
</entry>
</feed>
