diff options
author | Alex Ng <alexng@messages.microsoft.com> | 2017-08-06 13:12:52 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-16 09:14:42 -0700 |
commit | ea81fdf0981d9a4a998a015d325bed67624811f7 (patch) | |
tree | ca2364878d9f65a4472f3ae4a658b69a570ee093 /mm/shmem.c | |
parent | 5f972797b1b97ab94ef48188321bff6cc190a2e0 (diff) | |
download | linux-ea81fdf0981d9a4a998a015d325bed67624811f7.tar.bz2 |
Tools: hv: vss: Skip freezing filesystems backed by loop
Since a loop device is backed by a file, a backup will already result in
its parent filesystem being frozen. It's sufficient to just freeze the
parent filesystem, so we can skip the loop device.
This avoids a situation where a loop device and its parent filesystem are
both frozen and then thawed out of order. For example, if the loop device
is enumerated first, we would thaw it while its parent filesystem is still
frozen. The thaw operation fails and the loop device remains frozen.
Signed-off-by: Alex Ng <alexng@messages.microsoft.com>
Signed-off-by: Vyronas Tsingaras <vyronas@vtsingaras.me>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions