block: reject mount sections with relative targets
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 12 Apr 2015 20:18:15 +0000 (22:18 +0200)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 12 Apr 2015 20:18:15 +0000 (22:18 +0200)
commitcf8056385c287b98c70376034f0bfc59cc9261ed
tree8de86078e3082cb7f12f2459136ddb5fce810b1d
parentcc526b9dd7471270dae586433ec610760df54cc0
block: reject mount sections with relative targets

Specifying relative target paths leads to undefined results and confuses
users. Explicitely reject relative paths with a warning instead of doing
random stuff.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
block.c