summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/src/tab_update.c
diff options
context:
space:
mode:
authorKarel Zak2011-02-07 15:17:07 +0100
committerKarel Zak2011-02-07 15:17:07 +0100
commit309139c7dc3d7860ee2d5bf23afcf7b9816b4947 (patch)
tree46c9ca21197031c9d0095420eb6056efc1ef1fc5 /shlibs/mount/src/tab_update.c
parentlibmount: don't prepare update if syscall failed (diff)
downloadkernel-qcow2-util-linux-309139c7dc3d7860ee2d5bf23afcf7b9816b4947.tar.gz
kernel-qcow2-util-linux-309139c7dc3d7860ee2d5bf23afcf7b9816b4947.tar.xz
kernel-qcow2-util-linux-309139c7dc3d7860ee2d5bf23afcf7b9816b4947.zip
libmount: add and copy FS internal flags
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/tab_update.c')
-rw-r--r--shlibs/mount/src/tab_update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shlibs/mount/src/tab_update.c b/shlibs/mount/src/tab_update.c
index 60a628a4a..d66b64f94 100644
--- a/shlibs/mount/src/tab_update.c
+++ b/shlibs/mount/src/tab_update.c
@@ -324,7 +324,7 @@ static int utab_new_entry(struct libmnt_fs *fs, unsigned long mountflags, struct
}
/* allocate the entry */
- *ent = mnt_copy_fs(fs);
+ *ent = mnt_copy_fs(NULL, fs);
if (!*ent) {
rc = -ENOMEM;
goto err;