Skip to contentSkip to conversation

LVM2/lib/display display.c

PATCH [email protected] 1 participant 1 message Jan 25, 2012

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2012-01-25 17:14:56

Modified files:
lib/display : display.c

Log message:

	& -> &&

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/display/display.c.diff?cvsroot=lvm2&r1=1.126&r2=1.127

lib/display/display.c +1 -1
@@ -487,7 +487,7 @@
 		  lv->name,
 		  lv->vg->name,
 		  ((lv->status & (LVM_READ | LVM_WRITE)) >> 8) |
-		  ((inkernel & info.read_only) ? 4 : 0), inkernel ? 1 : 0,
+		  ((inkernel && info.read_only) ? 4 : 0), inkernel ? 1 : 0,
 		  /* FIXME lv->lv_number,  */
 		  inkernel ? info.open_count : 0, lv->size, lv->le_count,
 		  /* FIXME Add num allocated to struct! lv->lv_allocated_le, */