]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_db: improve argument naming in set_cur and set_iocur_type
authorBill O'Donnell <billodo@redhat.com>
Thu, 29 Jun 2017 18:05:00 +0000 (13:05 -0500)
committerEric Sandeen <sandeen@redhat.com>
Thu, 29 Jun 2017 18:05:00 +0000 (13:05 -0500)
commitdb23e0f431a77d228b5f68ef0a8587c25c689133
tree745152be9a3b2cee6fb7ecbac086478088af8af6
parent55f224baf83d71b3d2cc24e6387d9f1f6a5a1eda
xfs_db: improve argument naming in set_cur and set_iocur_type

In set_cur and set_iocur_type, the current naming for arguments
type, block number, and length are t, d, and c, respectively.
Replace these with more intuitive and descriptive names:
type, blknum, and len. Fix type of blknum (xfs_daddr_t) to be
consistent with that of libxfs_readbuf where it's used.
Additionally remove extra blank line in io.c.

Signed-off-by: Bill O'Donnell <billodo@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
db/io.c
db/io.h