diff options
author | Harsh Prateek Bora <harsh@linux.vnet.ibm.com> | 2010-08-18 08:01:52 +0200 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2010-10-28 16:08:45 +0200 |
commit | 7c7298cffc8f4417c95117c2a432f962c066499d (patch) | |
tree | 76557c0e621724ee32ddea2748f8b84681ae1ceb /include/net/9p | |
parent | 9p: Pass the correct end of buffer to p9dirent_read (diff) | |
download | linux-7c7298cffc8f4417c95117c2a432f962c066499d.tar.xz linux-7c7298cffc8f4417c95117c2a432f962c066499d.zip |
fs/9p: mkdir fix for setting S_ISGID bit as per parent directory
The current implementation of 9p client mkdir function does not
set the S_ISGID mode bit for the directory being created if the
parent directory has this bit set. This patch fixes this problem
so that the newly created directory inherits the gid from parent
directory and not from the process creating this directory, when
the S_ISGID bit is set in parent directory.
Signed-off-by: Harsh Prateek Bora <harsh@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'include/net/9p')
0 files changed, 0 insertions, 0 deletions