]> git.baikalelectronics.ru Git - kernel.git/commit
gfs2: Convert uids and gids between dinodes and vfs inodes.
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 1 Feb 2013 06:08:10 +0000 (22:08 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 13 Feb 2013 14:15:11 +0000 (06:15 -0800)
commit184c7deb0f68669eba954d96fca558b8b43e5cc5
treed803aeaf24cde90e11727ee5bf55c3e0be298c5b
parent946b24ac0569c7dc319a0edc9a6849a04e31483d
gfs2: Convert uids and gids between dinodes and vfs inodes.

When reading dinodes from the disk convert uids and gids
into kuids and kgids to store in vfs data structures.

When writing to dinodes to the disk convert kuids and kgids
in the in memory structures into plain uids and gids.

For now all on disk data structures are assumed to be
stored in the initial user namespace.

Cc: Steven Whitehouse <swhiteho@redhat.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
fs/gfs2/glops.c
fs/gfs2/inode.c
fs/gfs2/super.c