View | Details | Raw Unified | Return to bug 598193
Collapse All | Expand All

(-)libstorage-2.19.16.orig/storage/Volume.cc (+10 lines)
Lines 997-1002 Link Here
997
	else
997
	else
998
	    y2mil( "error opening " << path << " err:" <<
998
	    y2mil( "error opening " << path << " err:" <<
999
	           hex << file.rdstate() );
999
	           hex << file.rdstate() );
1000
	if ( getFilesysSysfsPath().find('dm-') != string::npos )
1001
		{
1002
		ofstream file( path.c_str() );
1003
		classic( file );
1004
		y2mil( "device mapper needs additional \"change\" event" );
1005
		y2mil( "writing \"change\" to " << path );
1006
		file << "change" << endl;
1007
		file.close();
1008
		Storage::waitForDevice();
1009
		}
1000
	}
1010
	}
1001
    else
1011
    else
1002
	y2mil( "no access to " << path );
1012
	y2mil( "no access to " << path );

Return to bug 598193