]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
libxfs: remove the dead {d,log,rt}path variables in libxfs_init
authorChristoph Hellwig <hch@lst.de>
Mon, 11 Dec 2023 16:37:21 +0000 (17:37 +0100)
committerCarlos Maiolino <cem@kernel.org>
Mon, 18 Dec 2023 13:57:48 +0000 (14:57 +0100)
commit74c77adf5d377dc0fdbb32d6c40f1d17724fc044
tree64a5e6bfa61daa22055ee3e801b09dbfb0c778fc
parent73352da7d5e8d2abdd1bc0e85f872d8bade30729
libxfs: remove the dead {d,log,rt}path variables in libxfs_init

These variables are only initialized, and then unlink is called if they
were changed from the initial value, which can't happen.  Remove the
variables and the conditional unlink calls.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
libxfs/init.c