diff options
Diffstat (limited to 'libmount/src')
| -rw-r--r-- | libmount/src/context_mount.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libmount/src/context_mount.c b/libmount/src/context_mount.c index 87387ae366..05c84f1702 100644 --- a/libmount/src/context_mount.c +++ b/libmount/src/context_mount.c @@ -1517,6 +1517,12 @@ int mnt_context_get_mount_excode( * mount(2) syscall success, but something else failed * (probably error in utab processing). */ + if (rc == -MNT_ERR_APPLYFLAGS) { + if (buf) + snprintf(buf, bufsz, _("filesystem was mounted, but failed to apply flags")); + return MNT_EX_USAGE; + } + if (rc == -MNT_ERR_LOCK) { if (buf) snprintf(buf, bufsz, _("filesystem was mounted, but failed to update userspace mount table")); |
