diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-03-02 09:32:52 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@djwong.org> | 2021-03-09 09:48:34 -0800 |
commit | b5a08423da9da59c7f38ed8dbb6dd6cbbe9024a4 (patch) | |
tree | 245bbc02ddf3cd6b0abba40d93aa2651a92d158a /fs/xfs/xfs_mount.c | |
parent | a38fd8748464831584a19438cbb3082b5a2dab15 (diff) |
xfs: fix quota accounting when a mount is idmapped
Nowadays, we indirectly use the idmap-aware helper functions in the VFS
to set the initial uid and gid of a file being created. Unfortunately,
we didn't convert the quota code, which means we attach the wrong dquots
to files created on an idmapped mount.
Fixes: f736d93d76d3 ("xfs: support idmapped mounts")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_mount.c')
0 files changed, 0 insertions, 0 deletions