]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_mdrestore: fix uninitialized variables in mdrestore main
authorDarrick J. Wong <djwong@kernel.org>
Wed, 20 Dec 2023 16:53:44 +0000 (08:53 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 22 Dec 2023 02:29:14 +0000 (18:29 -0800)
commitcad0e61555c65b66a828e81c117fe11fcae9cdad
treeaaf9f7060000fcae9dbe346d35657b4fb66bb476
parenta4722a00441a804fe3e6a6df87bec4a30e26980b
xfs_mdrestore: fix uninitialized variables in mdrestore main

Coverity complained about the "is fd a file?" flags being uninitialized.
Clean this up.

Coverity-id: 1554270
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chandan Babu R <chandanbabu@kernel.org>
mdrestore/xfs_mdrestore.c