commit | 6b8aa129dcbe0e9825109b35c4b967f984e8fb13 | [log] [tgz] |
---|---|---|
author | Amir Goldstein <amir73il@gmail.com> | Wed Jun 21 15:28:35 2017 +0300 |
committer | Miklos Szeredi <mszeredi@redhat.com> | Tue Jul 04 22:03:17 2017 +0200 |
tree | ecac80ecf92933719eb234136386f0e875a0c444 | |
parent | f7d3daca7c79d9b77e61f50f718b257b71d07498 [diff] |
ovl: generalize ovl_create_workdir() Pass in the subdir name to create and specify if subdir is persistent or if it should be cleaned up on every mount. Move fallback to readonly mount on failure to create dir and print of error message into the helper. This function is going to be used for creating the persistent 'index' dir under workbasedir. Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>