]> err.no Git - util-linux/commit
mount: fix parsing offset= followed by more options
authorPetr Uzel <petr.uzel@suse.cz>
Wed, 26 Jan 2011 11:17:00 +0000 (12:17 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 31 Jan 2011 16:12:49 +0000 (17:12 +0100)
commit7897c815ba0319146a4fe41f12eaba802dd3b3ff
tree1d0e94a7a73a023e2dd9c0d95bca7180b2a129a4
parent10a1c5ddf02e3b1508b8c44007f022f569638288
mount: fix parsing offset= followed by more options

mount does not parse parse offset= option if it is followed by other
options.  In umount, the parsing is done with the get_value() function.
This patch moves get_value to fstab.c (with new name get_option_value())
and fixes mount to use the function.

[kzak@redhat.com: - rename to get_option_value()
  - use fstab.c rather than sundries.c]

Novell bugzilla: #666150

Reported-by: Ludwig Nussel <ludwig.nussel@suse.de>
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
Signed-off-by: Karel Zak <kzak@redhat.com>
mount/fstab.c
mount/fstab.h
mount/mount.c
mount/umount.c