Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 72149
b: refs/heads/master
c: 85bfb4d
h: refs/heads/master
i:
  72147: d2eb0a8
v: v3
  • Loading branch information
NeilBrown authored and Linus Torvalds committed Oct 23, 2007
1 parent 058196c commit 826938a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0895e91d60ef9bdef426d1ce14bb94bd5875870d
refs/heads/master: 85bfb4da8cad483a4e550ec89060d05a4daf895b
2 changes: 1 addition & 1 deletion trunk/drivers/md/bitmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ static int write_sb_page(struct bitmap *bitmap, struct page *page, int wait)
if (bitmap->offset < 0) {
/* DATA BITMAP METADATA */
if (bitmap->offset
+ page->index * (PAGE_SIZE/512)
+ (long)(page->index * (PAGE_SIZE/512))
+ size/512 > 0)
/* bitmap runs in to metadata */
return -EINVAL;
Expand Down

0 comments on commit 826938a

Please sign in to comment.