diff options
| author | Baolin Liu <liubaolin@kylinos.cn> | 2026-06-30 08:59:55 +0800 |
|---|---|---|
| committer | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2026-09-16 13:05:54 +0200 |
| commit | 5d3e03b70d05162ca49830efcd8b1cd2746a86a3 (patch) | |
| tree | 62df0d93491b7cf95c379871831249468c8933a0 /scripts | |
| parent | 666af227b12fcc3f4ac9827d449ee0910f7bcf9f (diff) | |
fs/ntfs3: reject FS_IOC_SETFSLABEL on readonly mounts
FS_IOC_SETFSLABEL does not check for readonly mounts and
can report success without persisting the label change.
Return -EROFS on readonly mounts.
Fixes: 21dc07ac9c25 ("ntfs3: add FS_IOC_SETFSLABEL ioctl")
Signed-off-by: Baolin Liu <liubaolin@kylinos.cn>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
