libfstools: accept volume as argument in most calls
authorRafał Miłecki <zajec5@gmail.com>
Sun, 14 Dec 2014 17:58:16 +0000 (18:58 +0100)
committerJohn Crispin <blogic@openwrt.org>
Sun, 14 Dec 2014 22:04:06 +0000 (23:04 +0100)
commitba01996534d15dc725a2dcc56a59fbfb24b58787
tree190f31034110ee180428bf3aaf7c36f4367fd2be
parente65232440111b8f6654218033431e5bdd20525c2
libfstools: accept volume as argument in most calls

This optimizes code: drops unneeded calls to the volume_find and checks.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
libfstools/jffs2.c
libfstools/libfstools.h
libfstools/overlay.c
libfstools/snapshot.c
mount_root.c