diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/selinux/ss/ebitmap.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/security/selinux/ss/ebitmap.c b/security/selinux/ss/ebitmap.c index e499af474b35..ddc275490af8 100644 --- a/security/selinux/ss/ebitmap.c +++ b/security/selinux/ss/ebitmap.c | |||
@@ -411,11 +411,10 @@ int ebitmap_read(struct ebitmap *e, void *fp) | |||
411 | } | 411 | } |
412 | /* round down */ | 412 | /* round down */ |
413 | tmp->startbit = startbit - (startbit % EBITMAP_SIZE); | 413 | tmp->startbit = startbit - (startbit % EBITMAP_SIZE); |
414 | if (n) { | 414 | if (n) |
415 | n->next = tmp; | 415 | n->next = tmp; |
416 | } else { | 416 | else |
417 | e->node = tmp; | 417 | e->node = tmp; |
418 | } | ||
419 | n = tmp; | 418 | n = tmp; |
420 | } else if (startbit <= n->startbit) { | 419 | } else if (startbit <= n->startbit) { |
421 | printk(KERN_ERR "SELinux: ebitmap: start bit %d" | 420 | printk(KERN_ERR "SELinux: ebitmap: start bit %d" |