]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_db: short circuit type_f if type is unchanged
authorEric Sandeen <sandeen@redhat.com>
Mon, 24 Aug 2020 16:47:47 +0000 (12:47 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Mon, 24 Aug 2020 16:47:47 +0000 (12:47 -0400)
commit7b4a7b3f6bce91be45b54fc68e169cb756dc8c74
tree86e92974a57356eef6e09d604b29de05b3cba4c7
parentb1a48c4fe86624e7d41539e48e7f86e9492ae151
xfs_db: short circuit type_f if type is unchanged

There's no reason to go through the type change code if the
type has not been changed.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
db/type.c