diff options
author | Christoph Hellwig <hch@lst.de> | 2010-09-06 01:44:22 +0000 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-10-18 15:07:36 -0500 |
commit | 52fda114249578311776b25da9f73a9c34f4fd8c (patch) | |
tree | 976f100c5b68d799bb552280dad2f3bf9b078c90 /crypto/ansi_cprng.c | |
parent | 447223520520b17d3b6d0631aa4838fbaf8eddb4 (diff) |
xfs: simplify xfs_qm_dqusage_adjust
There is no need to have the users and group/project quota locked at the
same time. Get rid of xfs_qm_dqget_noattach and just do a xfs_qm_dqget
inside xfs_qm_quotacheck_dqadjust for the quota we are operating on
right now. The new version of xfs_qm_quotacheck_dqadjust holds the
inode lock over it's operations, which is not a problem as it simply
increments counters and there is no concern about log contention
during mount time.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'crypto/ansi_cprng.c')
0 files changed, 0 insertions, 0 deletions