Merge lp:~pr0gg3d/ubuntu/oneiric/util-linux/bug-805886 into lp:ubuntu/oneiric/util-linux

Proposed by Francesco Del Degan
Status: Merged
Merged at revision: 84
Proposed branch: lp:~pr0gg3d/ubuntu/oneiric/util-linux/bug-805886
Merge into: lp:ubuntu/oneiric/util-linux
Diff against target: 17 lines (+4/-2)
1 file modified
mount/fstab.c (+4/-2)
To merge this branch: bzr merge lp:~pr0gg3d/ubuntu/oneiric/util-linux/bug-805886
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+70680@code.launchpad.net

Description of the change

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'mount/fstab.c'
--- mount/fstab.c 2011-06-20 22:31:50 +0000
+++ mount/fstab.c 2011-08-07 18:13:28 +0000
@@ -344,9 +344,11 @@
344 return mc;344 return mc;
345 }345 }
346346
347 /* non-canonical names in mtab (this is BAD THING!) */347 /* non-canonical names in mtab (this is BAD THING!)
348 * but it should be allowed only for spec fsname(s)
349 */
348 for (mc = mcprev->prev; mc && mc != mc0; mc = mc->prev) {350 for (mc = mcprev->prev; mc && mc != mc0; mc = mc->prev) {
349 char *cn = canonicalize(mc->m.mnt_fsname);351 char *cn = canonicalize_spec(mc->m.mnt_fsname);
350 int res = cn ? streq(cn, name) : 0;352 int res = cn ? streq(cn, name) : 0;
351353
352 free(cn);354 free(cn);

Subscribers

People subscribed via source and target branches