]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: Modify struct cifs_unix_set_info_args to hold a kuid_t and a kgid_t
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 6 Feb 2013 08:57:56 +0000 (00:57 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 13 Feb 2013 15:28:49 +0000 (07:28 -0800)
commiteb7c76f2a22139dbaaf54f63907b6c1fc13c6bd2
tree134dabb2d9f0b0662d64feebc0fd667e63a3762f
parenta77adac676d0f2834045884cf654ad1bc726e8b1
cifs: Modify struct cifs_unix_set_info_args to hold a kuid_t and a kgid_t

Use INVALID_UID and INVALID_GID instead of NO_CHANGE_64 to indicate
the value should not be changed.

In cifs_fill_unix_set_info convert from kuids and kgids into uids and
gids that will fit in FILE_UNIX_BASIC_INFO.

Cc: Steve French <smfrench@gmail.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
fs/cifs/cifsproto.h
fs/cifs/cifssmb.c
fs/cifs/dir.c
fs/cifs/file.c
fs/cifs/inode.c