[gparted] Restore write label capability for linux-swap
- From: Curtis Gedak <gedakc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gparted] Restore write label capability for linux-swap
- Date: Sat, 18 Feb 2012 20:55:56 +0000 (UTC)
commit 1c0ea2783db849f3bbfb76ad5d83b3577c0b1d64
Author: Curtis Gedak <gedakc gmail com>
Date: Sat Feb 18 13:54:58 2012 -0700
Restore write label capability for linux-swap
The setting of the write label capability for linux-swap was lost
when it was overwritten in the following commit:
Add support for setting UUID (#667278)
9e96159bb2e6a843ac9465b340ad5f32b0320937
src/linux_swap.cc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/linux_swap.cc b/src/linux_swap.cc
index 05f7efb..64d4404 100644
--- a/src/linux_swap.cc
+++ b/src/linux_swap.cc
@@ -55,6 +55,7 @@ FS linux_swap::get_filesystem_support()
if ( ! Glib::find_program_in_path( "swaplabel" ) .empty() )
{
+ fs .write_label = FS::EXTERNAL ;
fs .read_uuid = FS::EXTERNAL ;
fs .write_uuid = FS::EXTERNAL ;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]