Searched hist:"2 cac0c00" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/fs/overlayfs/ |
H A D | ovl_entry.h | 2cac0c00 Wed Jun 21 07:28:33 CDT 2017 Amir Goldstein <amir73il@gmail.com> ovl: get exclusive ownership on upper/work dirs
Bad things can happen if several concurrent overlay mounts try to use the same upperdir/workdir path.
Try to get the 'inuse' advisory lock on upperdir and workdir. Fail mount if another overlay mount instance or another user holds the 'inuse' lock on these directories.
Note that this provides no protection for concurrent overlay mount that use overlapping (i.e. descendant) upper/work dirs.
Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> 2cac0c00 Wed Jun 21 07:28:33 CDT 2017 Amir Goldstein <amir73il@gmail.com> ovl: get exclusive ownership on upper/work dirs Bad things can happen if several concurrent overlay mounts try to use the same upperdir/workdir path. Try to get the 'inuse' advisory lock on upperdir and workdir. Fail mount if another overlay mount instance or another user holds the 'inuse' lock on these directories. Note that this provides no protection for concurrent overlay mount that use overlapping (i.e. descendant) upper/work dirs. Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
|
H A D | super.c | 2cac0c00 Wed Jun 21 07:28:33 CDT 2017 Amir Goldstein <amir73il@gmail.com> ovl: get exclusive ownership on upper/work dirs
Bad things can happen if several concurrent overlay mounts try to use the same upperdir/workdir path.
Try to get the 'inuse' advisory lock on upperdir and workdir. Fail mount if another overlay mount instance or another user holds the 'inuse' lock on these directories.
Note that this provides no protection for concurrent overlay mount that use overlapping (i.e. descendant) upper/work dirs.
Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> 2cac0c00 Wed Jun 21 07:28:33 CDT 2017 Amir Goldstein <amir73il@gmail.com> ovl: get exclusive ownership on upper/work dirs Bad things can happen if several concurrent overlay mounts try to use the same upperdir/workdir path. Try to get the 'inuse' advisory lock on upperdir and workdir. Fail mount if another overlay mount instance or another user holds the 'inuse' lock on these directories. Note that this provides no protection for concurrent overlay mount that use overlapping (i.e. descendant) upper/work dirs. Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
|