xfs: remove unnecessary check of the variable resblks in xfs_symlink
authorKaixu Xia <kaixuxia@tencent.com>
Thu, 23 Apr 2020 04:54:31 +0000 (21:54 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 4 May 2020 16:03:15 +0000 (09:03 -0700)
commit57fd2d8f61a2bc4d7b465588ca1a2217cd94076c
treeb28f497db0485a3ce10e70ee0188d890a4799f2e
parentcd59455980f94ea4e9a5f84a7c326d42a4d84a78
xfs: remove unnecessary check of the variable resblks in xfs_symlink

Since the "no-allocation" reservations has been removed, the resblks
value should be larger than zero, so remove the unnecessary check.

Signed-off-by: Kaixu Xia <kaixuxia@tencent.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_symlink.c