]> sourceware.org Git - lvm2.git/commit
Fix a serious bug in the behavior of fasdm tool when breaked.
authorZdenek Kabelac <zkabelac@redhat.com>
Fri, 8 Oct 2010 12:35:56 +0000 (12:35 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Fri, 8 Oct 2010 12:35:56 +0000 (12:35 +0000)
commit829fe014a5cdc1db1b6dba21ee03d5606a6e79f5
treee96a99fe3a537eb4b199317b2e145a7591fb087e
parent3a6e5f36f96281dea0ed0686b8520a23763a3790
Fix a serious bug in the behavior of fasdm tool when breaked.

Under certain conditions it was possible to break (^C) fsadm before actually
resizing filesystem, but lvresize which executed fsadm will think resize
was succesful and shrinks partitions with unresized filesystem on it.

Fix by returning error (1) for this case - this stops lvresize from futher
proceding in resize operation.
WHATS_NEW
scripts/fsadm.sh
This page took 0.030141 seconds and 5 git commands to generate.