aboutsummaryrefslogtreecommitdiffstats
path: root/fs/9p/vfs_inode_dotl.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2013-01-30 15:08:21 -0500
committerEric W. Biederman <ebiederm@xmission.com>2013-02-12 06:19:34 -0500
commitd4ef4e3581044890e4a04607a4e8f42d3ebcf704 (patch)
tree54f46cc98c987d2577ec3f4fc31f011fe6d32811 /fs/9p/vfs_inode_dotl.c
parent76ed23a5d703d94ede1ef6c12c14a75add691202 (diff)
9p: Modify v9fs_get_fsgid_for_create to return a kgid
Modify v9fs_get_fsgid_for_create to return a kgid and modify all of the variables that hold the result of v9fs_get_fsgid_for_create to be of type kgid_t. Cc: Eric Van Hensbergen <ericvh@gmail.com> Cc: Ron Minnich <rminnich@gmail.com> Cc: Latchesar Ionkov <lucho@ionkov.net> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'fs/9p/vfs_inode_dotl.c')
-rw-r--r--fs/9p/vfs_inode_dotl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/9p/vfs_inode_dotl.c b/fs/9p/vfs_inode_dotl.c
index 40895546e103..e27886573e7d 100644
--- a/fs/9p/vfs_inode_dotl.c
+++ b/fs/9p/vfs_inode_dotl.c
@@ -57,7 +57,7 @@ v9fs_vfs_mknod_dotl(struct inode *dir, struct dentry *dentry, umode_t omode,
57 * group of the new file system object. 57 * group of the new file system object.
58 */ 58 */
59 59
60static gid_t v9fs_get_fsgid_for_create(struct inode *dir_inode) 60static kgid_t v9fs_get_fsgid_for_create(struct inode *dir_inode)
61{ 61{
62 BUG_ON(dir_inode == NULL); 62 BUG_ON(dir_inode == NULL);
63 63
@@ -246,7 +246,7 @@ v9fs_vfs_atomic_open_dotl(struct inode *dir, struct dentry *dentry,
246 int *opened) 246 int *opened)
247{ 247{
248 int err = 0; 248 int err = 0;
249 gid_t gid; 249 kgid_t gid;
250 umode_t mode; 250 umode_t mode;
251 char *name = NULL; 251 char *name = NULL;
252 struct p9_qid qid; 252 struct p9_qid qid;
@@ -391,7 +391,7 @@ static int v9fs_vfs_mkdir_dotl(struct inode *dir,
391 int err; 391 int err;
392 struct v9fs_session_info *v9ses; 392 struct v9fs_session_info *v9ses;
393 struct p9_fid *fid = NULL, *dfid = NULL; 393 struct p9_fid *fid = NULL, *dfid = NULL;
394 gid_t gid; 394 kgid_t gid;
395 char *name; 395 char *name;
396 umode_t mode; 396 umode_t mode;
397 struct inode *inode; 397 struct inode *inode;
@@ -692,7 +692,7 @@ v9fs_vfs_symlink_dotl(struct inode *dir, struct dentry *dentry,
692 const char *symname) 692 const char *symname)
693{ 693{
694 int err; 694 int err;
695 gid_t gid; 695 kgid_t gid;
696 char *name; 696 char *name;
697 struct p9_qid qid; 697 struct p9_qid qid;
698 struct inode *inode; 698 struct inode *inode;
@@ -832,7 +832,7 @@ v9fs_vfs_mknod_dotl(struct inode *dir, struct dentry *dentry, umode_t omode,
832 dev_t rdev) 832 dev_t rdev)
833{ 833{
834 int err; 834 int err;
835 gid_t gid; 835 kgid_t gid;
836 char *name; 836 char *name;
837 umode_t mode; 837 umode_t mode;
838 struct v9fs_session_info *v9ses; 838 struct v9fs_session_info *v9ses;