summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_qm.c
diff options
context:
space:
mode:
authorKaixu Xia <kaixuxia@tencent.com>2020-03-27 08:28:39 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2020-03-28 09:40:11 -0700
commit63337b63e7dab667bc0b4c3d468eb7e0dcf5f384 (patch)
tree1965fd2760cd77677f16b7db5e88e0f918ecec7e /fs/xfs/xfs_qm.c
parent5cc3c006eb45524860c4d1dd4dd7ad4a506bf3f5 (diff)
xfs: remove unnecessary ternary from xfs_create
Since the "no-allocation" reservations for file creations has been removed, the resblks value should be larger than zero, so remove unnecessary ternary conditional. Signed-off-by: Kaixu Xia <kaixuxia@tencent.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> [darrick: s/judgment/ternary/] Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_qm.c')
0 files changed, 0 insertions, 0 deletions