]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
tune2fs: fall back to old get/set fs label on error
authorLi Dongyang <dongyangli@ddn.com>
Sat, 20 May 2023 10:43:29 +0000 (20:43 +1000)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 1 Dec 2023 17:35:33 +0000 (12:35 -0500)
commit569074c65d7b3a2022e53f0d6abd405dbe5320a3
treeec22fa631d6dee793496db9cf737d313aa5e9814
parentcc20e3c4320ae34dd06ec4d6a71d07aa7d6599d7
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.

Fixes: f85b4526f ("tune2fs: implement support for set/get label iocts")
Signed-off-by: Li Dongyang <dongyangli@ddn.com>
Link: https://lore.kernel.org/r/20230520104329.2402182-1-dongyangli@ddn.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/tune2fs.c