diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2019-05-01 22:46:11 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-25 18:23:46 +0200 |
| commit | a06fdd99a3393032d1c145ffb991c4cd916a8ba4 (patch) | |
| tree | 65d5b02dde0874b1d5ffdfeb08f053b52261c748 /tools | |
| parent | f037116fe05b439b1de1848016eb8bc79fca6ca2 (diff) | |
ufs: fix braino in ufs_get_inode_gid() for solaris UFS flavour
[ Upstream commit 4e9036042fedaffcd868d7f7aa948756c48c637d ]
To choose whether to pick the GID from the old (16bit) or new (32bit)
field, we should check if the old gid field is set to 0xffff. Mainline
checks the old *UID* field instead - cut'n'paste from the corresponding
code in ufs_get_inode_uid().
Fixes: 252e211e90ce
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
