<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/cifs/inode.c, branch linux-3.3.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.3.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.3.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-02-27T04:59:43Z</updated>
<entry>
<title>CIFS: Fix mkdir/rmdir bug for the non-POSIX case</title>
<updated>2012-02-27T04:59:43Z</updated>
<author>
<name>Pavel Shilovsky</name>
</author>
<published>2012-02-17T13:13:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6de2ce423157d06f73d570ef7044f08c2f8697da'/>
<id>urn:sha1:6de2ce423157d06f73d570ef7044f08c2f8697da</id>
<content type='text'>
Currently we do inc/drop_nlink for a parent directory for every
mkdir/rmdir calls. That's wrong when Unix extensions are disabled
because in this case a server doesn't follow the same semantic and
returns the old value on the next QueryInfo request. As the result,
we update our value with the server one and then decrement it on
every rmdir call - go to negative nlink values.

Fix this by removing inc/drop_nlink for the parent directory from
mkdir/rmdir, setting it for a revalidation and ignoring NumberOfLinks
for directories when Unix extensions are disabled.

Signed-off-by: Pavel Shilovsky &lt;piastry@etersoft.ru&gt;
Reviewed-by: Jeff Layton &lt;jlayton@samba.org&gt;
Signed-off-by: Steve French &lt;smfrench@gmail.com&gt;
</content>
</entry>
<entry>
<title>switch vfs_mkdir() and -&gt;mkdir() to umode_t</title>
<updated>2012-01-04T03:54:53Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2011-07-26T05:41:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=18bb1db3e7607e4a997d50991a6f9fa5b0f8722c'/>
<id>urn:sha1:18bb1db3e7607e4a997d50991a6f9fa5b0f8722c</id>
<content type='text'>
vfs_mkdir() gets int, but immediately drops everything that might not
fit into umode_t and that's the only caller of -&gt;mkdir()...

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>filesystems: add set_nlink()</title>
<updated>2011-11-02T11:53:43Z</updated>
<author>
<name>Miklos Szeredi</name>
</author>
<published>2011-10-28T12:13:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bfe8684869601dacfcb2cd69ef8cfd9045f62170'/>
<id>urn:sha1:bfe8684869601dacfcb2cd69ef8cfd9045f62170</id>
<content type='text'>
Replace remaining direct i_nlink updates with a new set_nlink()
updater function.

Signed-off-by: Miklos Szeredi &lt;mszeredi@suse.cz&gt;
Tested-by: Toshiyuki Okajima &lt;toshi.okajima@jp.fujitsu.com&gt;
Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
</content>
</entry>
<entry>
<title>CIFS: Fix DFS handling in cifs_get_file_info</title>
<updated>2011-10-22T17:29:35Z</updated>
<author>
<name>Pavel Shilovsky</name>
</author>
<published>2011-10-22T10:37:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=42274bb22afc3e877ae5abed787b0b09d7dede52'/>
<id>urn:sha1:42274bb22afc3e877ae5abed787b0b09d7dede52</id>
<content type='text'>
We should call cifs_all_info_to_fattr in rc == 0 case only.

Cc: &lt;stable@kernel.org&gt;
Signed-off-by: Pavel Shilovsky &lt;piastry@etersoft.ru&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: Call id to SID mapping functions to change owner/group (try #4 repost)</title>
<updated>2011-10-17T14:11:11Z</updated>
<author>
<name>Shirish Pargaonkar</name>
</author>
<published>2011-10-13T15:26:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a5ff376966c079bd2f078524eff11b0c63cc2507'/>
<id>urn:sha1:a5ff376966c079bd2f078524eff11b0c63cc2507</id>
<content type='text'>
Now build security descriptor to change either owner or group at the
server.  Initially security descriptor was built to change only
(D)ACL, that functionality has been extended.

When either an Owner or a Group of a file object at the server is changed,
rest of security descriptor remains same (DACL etc.).

To set security descriptor, it is necessary to open that file
with permission bits of either WRITE_DAC if DACL is being modified or
WRITE_OWNER (Take Ownership) if Owner or Group is being changed.

It is the server that decides whether a set security descriptor with
either owner or group change succeeds or not.

Signed-off-by: Shirish Pargaonkar &lt;shirishpargaonkar@gmail.com&gt;
Signed-off-by: Steve French &lt;smfrench@gmail.com&gt;
</content>
</entry>
<entry>
<title>cifs: convert prefixpath delimiters in cifs_build_path_to_root</title>
<updated>2011-08-05T14:55:15Z</updated>
<author>
<name>Jeff Layton</name>
</author>
<published>2011-08-05T14:28:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f9e8c45002cacad536b338dfa9e910e341a49c31'/>
<id>urn:sha1:f9e8c45002cacad536b338dfa9e910e341a49c31</id>
<content type='text'>
Regression from 2.6.39...

The delimiters in the prefixpath are not being converted based on
whether posix paths are in effect. Fixes:

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

Reported-and-Tested-by: Iain Arnell &lt;iarnell@gmail.com&gt;
Reported-by: Patrick Oltmann &lt;patrick.oltmann@gmx.net&gt;
Cc: Pavel Shilovsky &lt;piastryyy@gmail.com&gt;
Cc: stable@kernel.org
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] Rename three structures to avoid camel case</title>
<updated>2011-05-27T04:34:02Z</updated>
<author>
<name>Steve French</name>
</author>
<published>2011-05-27T04:34:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=96daf2b09178d8ebde2b0d56b027de917c17dfdf'/>
<id>urn:sha1:96daf2b09178d8ebde2b0d56b027de917c17dfdf</id>
<content type='text'>
secMode to sec_mode
and
cifsTconInfo to cifs_tcon
and
cifsSesInfo to cifs_ses

Signed-off-by: Steve French &lt;sfrench@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>CIFS: Add rwpidforward mount option</title>
<updated>2011-05-27T03:57:16Z</updated>
<author>
<name>Pavel Shilovsky</name>
</author>
<published>2011-05-26T06:02:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d4ffff1fa9695c5b5c0bf337e208d8833b88ff2d'/>
<id>urn:sha1:d4ffff1fa9695c5b5c0bf337e208d8833b88ff2d</id>
<content type='text'>
Add rwpidforward mount option that switches on a mode when we forward
pid of a process who opened a file to any read and write operation.

This can prevent applications like WINE from failing on read or write
operation on a previously locked file region from the same netfd from
another process if we use mandatory brlock style.

It is actual for WINE because during a run of WINE program two processes
work on the same netfd - share the same file struct between several VFS
fds:
1) WINE-server does open and lock;
2) WINE-application does read and write.

Signed-off-by: Pavel Shilovsky &lt;piastry@etersoft.ru&gt;
Signed-off-by: Steve French &lt;sfrench@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>[CIFS] Migrate from prefixpath logic</title>
<updated>2011-05-27T03:50:55Z</updated>
<author>
<name>Steve French</name>
</author>
<published>2011-05-27T03:50:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f87d39d951329cd8f462bf9007d334122c0599d0'/>
<id>urn:sha1:f87d39d951329cd8f462bf9007d334122c0599d0</id>
<content type='text'>
Now we point superblock to a server share root and set a root dentry
appropriately. This let us share superblock between mounts like
//server/sharename/foo/bar and //server/sharename/foo further.

Reviewed-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Pavel Shilovsky &lt;piastry@etersoft.ru&gt;

Signed-off-by: Steve French &lt;sfrench@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>CIFS: Use pid saved from cifsFileInfo in writepages and set_file_size</title>
<updated>2011-05-26T18:07:02Z</updated>
<author>
<name>Pavel Shilovsky</name>
</author>
<published>2011-05-26T06:01:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fa2989f4473413a86890066aa3a5676a53b541e4'/>
<id>urn:sha1:fa2989f4473413a86890066aa3a5676a53b541e4</id>
<content type='text'>
We need it to make them work with mandatory locking style because
we can fail in a situation like when kernel need to flush dirty pages
and there is a lock held by a process who opened file.

Signed-off-by: Pavel Shilovsky &lt;piastry@etersoft.ru&gt;
Signed-off-by: Steve French &lt;sfrench@us.ibm.com&gt;
</content>
</entry>
</feed>
