diff options
| author | Kaixu Xia <[email protected]> | 2020-04-22 21:54:29 -0700 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2020-05-04 09:03:14 -0700 |
| commit | ea1c90403d5d38bd26c4c5a72627a8f0f87295ff (patch) | |
| tree | f169dee353fa92c6770e24e54f8a4709936d6f5f /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | fb353ff19d34e9b0ee8ba2b25d78aeab0436f479 (diff) | |
xfs: remove unnecessary variable udqp from xfs_ioctl_setattr
The initial value of variable udqp is NULL, and we only set the
flag XFS_QMOPT_PQUOTA in xfs_qm_vop_dqalloc() function, so only
the pdqp value is initialized and the udqp value is still NULL.
Since the udqp value is NULL in the rest part of xfs_ioctl_setattr()
function, it is meaningless and do nothing. So remove it from
xfs_ioctl_setattr().
Signed-off-by: Kaixu Xia <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions