diff options
author | Karel Zak | 2011-02-22 18:41:20 +0100 |
---|---|---|
committer | Karel Zak | 2011-02-22 18:41:20 +0100 |
commit | f2b3a3a3288d56b09d878c3e2b5310268f2f4d31 (patch) | |
tree | 4d990af02e8664a09a88bb2d110c0344a43e355a /shlibs/mount/src/context_umount.c | |
parent | ipcs: fix typo (diff) | |
download | kernel-qcow2-util-linux-f2b3a3a3288d56b09d878c3e2b5310268f2f4d31.tar.gz kernel-qcow2-util-linux-f2b3a3a3288d56b09d878c3e2b5310268f2f4d31.tar.xz kernel-qcow2-util-linux-f2b3a3a3288d56b09d878c3e2b5310268f2f4d31.zip |
libmount: don't export functions for vfs/fs/userspace mount options
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/context_umount.c')
-rw-r--r-- | shlibs/mount/src/context_umount.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shlibs/mount/src/context_umount.c b/shlibs/mount/src/context_umount.c index 1187a87cd..3bf8fc45e 100644 --- a/shlibs/mount/src/context_umount.c +++ b/shlibs/mount/src/context_umount.c @@ -591,7 +591,7 @@ int mnt_context_do_umount(struct libmnt_context *cxt) /* * fix options, remount --> read-only mount */ - const char *o = mnt_fs_get_vfs_options(cxt->fs); + const char *o = mnt_fs_get_options(cxt->fs); char *n = o ? strdup(o) : NULL; DBG(CXT, mnt_debug_h(cxt, "fix remount-on-umount update")); @@ -600,7 +600,7 @@ int mnt_context_do_umount(struct libmnt_context *cxt) mnt_optstr_remove_option(&n, "rw"); rc = mnt_optstr_prepend_option(&n, "ro", NULL); if (!rc) - rc = mnt_fs_set_vfs_options(cxt->fs, n); + rc = mnt_fs_set_options(cxt->fs, n); /* use "remount" instead of "umount" in /etc/mtab */ if (!rc && cxt->update && cxt->mtab_writable) |