diff options
author | root <root@rshg054.dnsready.net> | 2012-02-25 23:15:06 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-25 23:15:06 +0000 |
commit | e4a5730eb358cb0d78bc022204ddccac068c2bf2 (patch) | |
tree | 8dc9d2ac6b1313cb68be1a6c8b51500397f8b225 /testing/util-linux/libmount-canonicalize-all-paths-from-fs-tab.patch | |
parent | 299e917c17619f800f0c21cf43209065b608223f (diff) |
Sat Feb 25 23:15:06 UTC 2012
Diffstat (limited to 'testing/util-linux/libmount-canonicalize-all-paths-from-fs-tab.patch')
-rw-r--r-- | testing/util-linux/libmount-canonicalize-all-paths-from-fs-tab.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/util-linux/libmount-canonicalize-all-paths-from-fs-tab.patch b/testing/util-linux/libmount-canonicalize-all-paths-from-fs-tab.patch new file mode 100644 index 000000000..05961aa35 --- /dev/null +++ b/testing/util-linux/libmount-canonicalize-all-paths-from-fs-tab.patch @@ -0,0 +1,27 @@ +From 59e32a1f240c5f6a1d64d5e71a4a357245c34eaf Mon Sep 17 00:00:00 2001 +From: Karel Zak <kzak@redhat.com> +Date: Fri, 24 Feb 2012 20:25:43 +0100 +Subject: [PATCH 07/12] libmount: canonicalize all paths from (fs)tab + +Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=797216 +Signed-off-by: Karel Zak <kzak@redhat.com> +--- + libmount/src/tab.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libmount/src/tab.c b/libmount/src/tab.c +index 37f47bd..f10c1de 100644 +--- a/libmount/src/tab.c ++++ b/libmount/src/tab.c +@@ -456,7 +456,7 @@ struct libmnt_fs *mnt_table_find_target(struct libmnt_table *tb, const char *pat + while(mnt_table_next_fs(tb, &itr, &fs) == 0) { + char *p; + +- if (!fs->target || !mnt_fs_is_swaparea(fs) || ++ if (!fs->target || mnt_fs_is_swaparea(fs) || + (*fs->target == '/' && *(fs->target + 1) == '\0')) + continue; + +-- +1.7.9.2 + |