Whamcloud - gitweb
LU-16835 tune2fs: fall back to old get/set fs label on error 73/51073/2
authorLi Dongyang <dongyangli@ddn.com>
Sat, 20 May 2023 10:26:32 +0000 (20:26 +1000)
committerLi Dongyang <dongyangli@ddn.com>
Thu, 25 May 2023 01:47:43 +0000 (01:47 +0000)
commitc6af13873a5b1102126fcedb93abeda93132e3ef
tree6b5322bec61e7e7b90e01b93ffeb4d9d46988ae6
parent2546e70da80a32c53049d7c57286789baa38f77e
LU-16835 tune2fs: fall back to old get/set fs label on error

If we fail to get/open the mount point for get/set
fs label ioctl, just fall back to old method and
silence the error messages.

Change-Id: I2ce5c02974540ff0fe883b992d0b510e68f6db26
Fixes: f85b4526f ("tune2fs: implement support for set/get label iocts")
Signed-off-by: Li Dongyang <dongyangli@ddn.com>
Reviewed-on: https://review.whamcloud.com/c/tools/e2fsprogs/+/51073
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
misc/tune2fs.c