Revision 13a6c760
ID | 13a6c760c7c6bf8c09eba69be08b4637f5ce5f8c |
Parent | 2dcb5a26 |
Child | 9c1c3c19 |
Prepare verification code for new file path verification
This patch prepares the verification code for adding
a new verification step for the file storage paths:
- It moves a couple of file storage helper functions from
bdev to filestorage (since they make more sense there
and bdev is too big anyway).
- They rename constants and functions related to the
verification step where the allowed file paths are
checked agains forbidden paths to a more expressive name,
because otherwise they would be confused to be related
to the verification of the file storage paths against
the allowed file storage paths.
- Use the cluster objects helper functions to check
if file storage is inabled instead of using the utils
function directly, because it simplifies the code.
Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Files
- added
- modified
- copied
- renamed
- deleted