<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/cifs, 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>2011-02-24T22:54:38Z</updated>
<entry>
<title>cifs: Fix regression in LANMAN (LM) auth code</title>
<updated>2011-02-24T22:54:38Z</updated>
<author>
<name>Shirish Pargaonkar</name>
</author>
<published>2011-02-17T20:38:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0b7ae56ea809b35607ea608b960ac7afcace2856'/>
<id>urn:sha1:0b7ae56ea809b35607ea608b960ac7afcace2856</id>
<content type='text'>
commit 5e640927a597a7c3e72b61e8bce74c22e906de65 upstream.

LANMAN response length was changed to 16 bytes instead of 24 bytes.
Revert it back to 24 bytes.

Signed-off-by: Shirish Pargaonkar &lt;shirishpargaonkar@gmail.com&gt;
Signed-off-by: Steve French &lt;sfrench@us.ibm.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>cifs: fix handling of scopeid in cifs_convert_address</title>
<updated>2011-02-24T22:54:38Z</updated>
<author>
<name>Jeff Layton</name>
</author>
<published>2011-02-16T14:34:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=288cfb1763afea7a7ddb4c4d9a2868070fbab4a3'/>
<id>urn:sha1:288cfb1763afea7a7ddb4c4d9a2868070fbab4a3</id>
<content type='text'>
commit 9616125611ee47693186533d76e403856a36b3c8 upstream.

The code finds, the '%' sign in an ipv6 address and copies that to a
buffer allocated on the stack. It then ignores that buffer, and passes
'pct' to simple_strtoul(), which doesn't work right because we're
comparing 'endp' against a completely different string.

Fix it by passing the correct pointer. While we're at it, this is a
good candidate for conversion to strict_strtoul as well.

Cc: David Howells &lt;dhowells@redhat.com&gt;
Reported-by: BjÃ¶rn JACKE &lt;bj@sernet.de&gt;
Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Steve French &lt;sfrench@us.ibm.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>cifs: Fix regression during share-level security mounts (Repost)</title>
<updated>2011-02-17T23:14:44Z</updated>
<author>
<name>Shirish Pargaonkar</name>
</author>
<published>2011-01-19T04:33:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=97a3d0d9889f415e0415b7ccc50aa52f8942b216'/>
<id>urn:sha1:97a3d0d9889f415e0415b7ccc50aa52f8942b216</id>
<content type='text'>
commit 540b2e377797d8715469d408b887baa9310c5f3e upstream.

NTLM response length was changed to 16 bytes instead of 24 bytes
that are sent in Tree Connection Request during share-level security
share mounts.  Revert it back to 24 bytes.

Reported-and-Tested-by: Grzegorz Ozanski &lt;grzegorz.ozanski@intel.com&gt;
Acked-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Shirish Pargaonkar &lt;shirishpargaonkar@gmail.com&gt;
Acked-by: Suresh Jayaraman &lt;sjayaraman@suse.de&gt;
Signed-off-by: Steve French &lt;sfrench@us.ibm.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>CIFS: Fix oplock break handling (try #2)</title>
<updated>2011-02-17T23:14:44Z</updated>
<author>
<name>Pavel Shilovsky</name>
</author>
<published>2011-01-17T17:15:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c4eb47bcb04cbf3661bbc36e64ff12b52f36d05b'/>
<id>urn:sha1:c4eb47bcb04cbf3661bbc36e64ff12b52f36d05b</id>
<content type='text'>
commit 12fed00de963433128b5366a21a55808fab2f756 upstream.

When we get oplock break notification we should set the appropriate
value of OplockLevel field in oplock break acknowledge according to
the oplock level held by the client in this time. As we only can have
level II oplock or no oplock in the case of oplock break, we should be
aware only about clientCanCacheRead field in cifsInodeInfo structure.

Also fix bug connected with wrong interpretation of OplockLevel field
during oplock break notification processing.

Signed-off-by: Pavel Shilovsky &lt;piastryyy@gmail.com&gt;
Signed-off-by: Steve French &lt;sfrench@us.ibm.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>cifs: remove bogus remapping of error in cifs_filldir()</title>
<updated>2010-12-08T18:47:54Z</updated>
<author>
<name>Suresh Jayaraman</name>
</author>
<published>2010-12-06T08:15:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=545c988b2018a593f24d291b66776a0d08525acd'/>
<id>urn:sha1:545c988b2018a593f24d291b66776a0d08525acd</id>
<content type='text'>
As the FIXME points out correctly, now filldir() itself returns -EOVERFLOW if
it not possible to represent the inode number supplied by the filesystem in
the field provided by userspace.

Signed-off-by: Suresh Jayaraman &lt;sjayaraman@suse.de&gt;
Reviewed-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Steve French &lt;sfrench@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>cifs: allow calling cifs_build_path_to_root on incomplete cifs_sb</title>
<updated>2010-12-07T19:25:37Z</updated>
<author>
<name>Jeff Layton</name>
</author>
<published>2010-12-07T07:10:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7d161b7f41e24203b54b0f18ae0d26c18a6c6fab'/>
<id>urn:sha1:7d161b7f41e24203b54b0f18ae0d26c18a6c6fab</id>
<content type='text'>
It's possible that cifs_mount will call cifs_build_path_to_root on a
newly instantiated cifs_sb. In that case, it's likely that the
master_tlink pointer has not yet been instantiated.

Fix this by having cifs_build_path_to_root take a cifsTconInfo pointer
as well, and have the caller pass that in.

Reported-and-Tested-by: Robbert Kouprie &lt;robbert@exx.nl&gt;
Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Steve French &lt;sfrench@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>cifs: fix check of error return from is_path_accessable</title>
<updated>2010-12-07T19:17:59Z</updated>
<author>
<name>Jeff Layton</name>
</author>
<published>2010-12-07T02:07:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=03ceace5c6923ffbcf2b4d2e37afbffbdb5d4a67'/>
<id>urn:sha1:03ceace5c6923ffbcf2b4d2e37afbffbdb5d4a67</id>
<content type='text'>
This function will return 0 if everything went ok. Commit 9d002df4
however added a block of code after the following check for
rc == -EREMOTE. With that change and when rc == 0, doing the
"goto mount_fail_check" here skips that code, leaving the tlink_tree
and master_tlink pointer unpopulated. That causes an oops later
in cifs_root_iget.

Reported-and-Tested-by: Robbert Kouprie &lt;robbert@exx.nl&gt;
Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Steve French &lt;sfrench@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>cifs: remove Local_System_Name</title>
<updated>2010-12-06T22:45:19Z</updated>
<author>
<name>Jeff Layton</name>
</author>
<published>2010-11-22T20:31:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=884639996814585ef7079daa9e03a1eb562e235c'/>
<id>urn:sha1:884639996814585ef7079daa9e03a1eb562e235c</id>
<content type='text'>
...this string is zeroed out and nothing ever changes it.

Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Steve French &lt;sfrench@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>cifs: fix use of CONFIG_CIFS_ACL</title>
<updated>2010-12-06T20:22:39Z</updated>
<author>
<name>Jeff Layton</name>
</author>
<published>2010-12-06T17:52:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=79df1baeec29022e4181f2964187b88661ef5517'/>
<id>urn:sha1:79df1baeec29022e4181f2964187b88661ef5517</id>
<content type='text'>
Some of the code under CONFIG_CIFS_ACL is dependent upon code under
CONFIG_CIFS_EXPERIMENTAL, but the Kconfig options don't reflect that
dependency. Move more of the ACL code out from under
CONFIG_CIFS_EXPERIMENTAL and under CONFIG_CIFS_ACL.

Also move find_readable_file out from other any sort of Kconfig
option and make it a function normally compiled in.

Reported-and-Acked-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Steve French &lt;sfrench@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>cifs: add attribute cache timeout (actimeo) tunable</title>
<updated>2010-12-02T19:32:11Z</updated>
<author>
<name>Suresh Jayaraman</name>
</author>
<published>2010-12-01T09:12:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6d20e8406f0942228a73000663c2b33f488103ea'/>
<id>urn:sha1:6d20e8406f0942228a73000663c2b33f488103ea</id>
<content type='text'>
Currently, the attribute cache timeout for CIFS is hardcoded to 1 second. This
means that the client might have to issue a QPATHINFO/QFILEINFO call every 1
second to verify if something has changes, which seems too expensive. On the
other hand, if the timeout is hardcoded to a higher value, workloads that
expect strict cache coherency might see unexpected results.

Making attribute cache timeout as a tunable will allow us to make a tradeoff
between performance and cache metadata correctness depending on the
application/workload needs.

Add 'actimeo' tunable that can be used to tune the attribute cache timeout.
The default timeout is set to 1 second. Also, display actimeo option value in
/proc/mounts.

It appears to me that 'actimeo' and the proposed (but not yet merged)
'strictcache' option cannot coexist, so care must be taken that we reset the
other option if one of them is set.

Changes since last post:
   - fix option parsing and handle possible values correcly

Reviewed-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Suresh Jayaraman &lt;sjayaraman@suse.de&gt;
Signed-off-by: Steve French &lt;sfrench@us.ibm.com&gt;
</content>
</entry>
</feed>
