ceph: Translate inode uid and gid attributes to/from kuids and kgids.
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 31 Jan 2013 11:40:12 +0000 (03:40 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 12 Feb 2013 11:19:25 +0000 (03:19 -0800)
commitab871b903e9095772c219b512d9eae96c4663a5d
treea09142df515aa7c0acbe2045d7d093e8f912ac50
parent05cb11c17e892f0e131b6c2ba25d63221aafbd11
ceph: Translate inode uid and gid attributes to/from kuids and kgids.

- In fill_inode() transate uids and gids in the initial user namespace
  into kuids and kgids stored in inode->i_uid and inode->i_gid.

- In ceph_setattr() if they have changed convert inode->i_uid and
  inode->i_gid into initial user namespace uids and gids for
  transmission.

Cc: Sage Weil <sage@inktank.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
fs/ceph/inode.c