<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/cifs/readdir.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-07-24T19:12:03Z</updated>
<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: 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>cifs: always update the inode cache with the results from a FIND_*</title>
<updated>2012-07-17T04:57:23Z</updated>
<author>
<name>Jeff Layton</name>
</author>
<published>2012-07-06T11:09:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cd60042cc1392e79410dc8de9e9c1abb38a29e57'/>
<id>urn:sha1:cd60042cc1392e79410dc8de9e9c1abb38a29e57</id>
<content type='text'>
When we get back a FIND_FIRST/NEXT result, we have some info about the
dentry that we use to instantiate a new inode. We were ignoring and
discarding that info when we had an existing dentry in the cache.

Fix this by updating the inode in place when we find an existing dentry
and the uniqueid is the same.

Cc: &lt;stable@vger.kernel.org&gt; # .31.x
Reported-and-Tested-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reported-by: Bill Robertson &lt;bill_robertson@debortoli.com.au&gt;
Reported-by: Dion Edwards &lt;dion_edwards@debortoli.com.au&gt;
Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Steve French &lt;smfrench@gmail.com&gt;
</content>
</entry>
<entry>
<title>cifs: Include backup intent search flags during searches {try #2)</title>
<updated>2012-05-17T09:07:49Z</updated>
<author>
<name>Shirish Pargaonkar</name>
</author>
<published>2012-05-15T15:19:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2608bee744a92d60d15ff4e6e0b913d8b406aedd'/>
<id>urn:sha1:2608bee744a92d60d15ff4e6e0b913d8b406aedd</id>
<content type='text'>
As observed and suggested by Tushar Gosavi...

---------
readdir calls these function to send TRANS2_FIND_FIRST and
TRANS2_FIND_NEXT command to the server. The current cifs module is
not specifying CIFS_SEARCH_BACKUP_SEARCH flag while sending these
command when backupuid/backupgid is specified. This can be resolved
by specifying CIFS_SEARCH_BACKUP_SEARCH flag.
---------

Cc: &lt;stable@kernel.org&gt;
Reported-and-Tested-by: Tushar Gosavi &lt;tugosavi@in.ibm.com&gt;
Signed-off-by: Shirish Pargaonkar &lt;shirishpargaonkar@gmail.com&gt;
Acked-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Steve French &lt;sfrench@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>CIFS: Rename *UCS* functions to *UTF16*</title>
<updated>2012-01-19T04:32:33Z</updated>
<author>
<name>Steve French</name>
</author>
<published>2012-01-19T04:32:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=acbbb76a26648dfae6fed0989879e40d75692bfc'/>
<id>urn:sha1:acbbb76a26648dfae6fed0989879e40d75692bfc</id>
<content type='text'>
to reflect the unicode encoding used by CIFS protocol.

Signed-off-by: Pavel Shilovsky &lt;piastry@etersoft.ru&gt;
Acked-by: Jeff Layton &lt;jlayton@samba.org&gt;
Reviewed-by: Shirish Pargaonkar &lt;shirishpargaonkar@gmail.com&gt;
</content>
</entry>
<entry>
<title>cifs: check for NULL last_entry before calling cifs_save_resume_key</title>
<updated>2011-12-09T04:04:47Z</updated>
<author>
<name>Jeff Layton</name>
</author>
<published>2011-12-02T01:23:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7023676f9ee851d94f0942e879243fc1f9081c47'/>
<id>urn:sha1:7023676f9ee851d94f0942e879243fc1f9081c47</id>
<content type='text'>
Prior to commit eaf35b1, cifs_save_resume_key had some NULL pointer
checks at the top. It turns out that at least one of those NULL
pointer checks is needed after all.

When the LastNameOffset in a FIND reply appears to be beyond the end of
the buffer, CIFSFindFirst and CIFSFindNext will set srch_inf.last_entry
to NULL. Since eaf35b1, the code will now oops in this situation.

Fix this by having the callers check for a NULL last entry pointer
before calling cifs_save_resume_key. No change is needed for the
call site in cifs_readdir as it's not reachable with a NULL
current_entry pointer.

This should fix:

    https://bugzilla.redhat.com/show_bug.cgi?id=750247

Cc: stable@vger.kernel.org
Cc: Christoph Hellwig &lt;hch@infradead.org&gt;
Reported-by: Adam G. Metzler &lt;adamgmetzler@gmail.com&gt;
Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Steve French &lt;smfrench@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6</title>
<updated>2011-07-26T18:11:28Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2011-07-26T18:11:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1d87c28e680ce4ecb8c260d8ce070b8339d52abb'/>
<id>urn:sha1:1d87c28e680ce4ecb8c260d8ce070b8339d52abb</id>
<content type='text'>
* git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6:
  cifs: Cleanup: check return codes of crypto api calls
  CIFS: Fix oops while mounting with prefixpath
  [CIFS] Redundant null check after dereference
  cifs: use cifs_dirent in cifs_save_resume_key
  cifs: use cifs_dirent to replace cifs_get_name_from_search_buf
  cifs: introduce cifs_dirent
  cifs: cleanup cifs_filldir
</content>
</entry>
<entry>
<title>cifs: use cifs_dirent in cifs_save_resume_key</title>
<updated>2011-07-25T21:43:14Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2011-07-16T19:24:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=eaf35b1ea8c12edc5ba8299a8ecfe1efab85101b'/>
<id>urn:sha1:eaf35b1ea8c12edc5ba8299a8ecfe1efab85101b</id>
<content type='text'>
Signed-off-by: Christoph Hellwig &lt;hch@lst.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: use cifs_dirent to replace cifs_get_name_from_search_buf</title>
<updated>2011-07-25T21:40:53Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2011-07-16T19:24:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f16d59b417d781eb7fe63a561272429b5e098c3a'/>
<id>urn:sha1:f16d59b417d781eb7fe63a561272429b5e098c3a</id>
<content type='text'>
This allows us to parse the on the wire structures only once in
cifs_filldir.

Signed-off-by: Christoph Hellwig &lt;hch@lst.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: introduce cifs_dirent</title>
<updated>2011-07-25T21:36:44Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2011-07-16T19:24:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cda0ec6a86f18127d490048a46de954c03886d5e'/>
<id>urn:sha1:cda0ec6a86f18127d490048a46de954c03886d5e</id>
<content type='text'>
Introduce a generic directory entry structure, and factor the parsing
of the various on the wire structures that can represent one into
a common helper.  Switch cifs_entry_is_dot over to use it as a start.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Reviewed-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Steve French &lt;sfrench@us.ibm.com&gt;
</content>
</entry>
</feed>
