Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299800
b: refs/heads/master
c: 8d082fb
h: refs/heads/master
v: v3
  • Loading branch information
Liu Bo authored and David Sterba committed Apr 18, 2012
1 parent fb9388b commit bd05ff3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 207a232ccac0a8cb79d304bd17298dbc96e2e082
refs/heads/master: 8d082fb727ac11930ea20bf1612e334ea7c2b697
6 changes: 3 additions & 3 deletions trunk/fs/btrfs/disk-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -2254,9 +2254,9 @@ int open_ctree(struct super_block *sb,
goto fail_sb_buffer;
}

if (sectorsize < PAGE_SIZE) {
printk(KERN_WARNING "btrfs: Incompatible sector size "
"found on %s\n", sb->s_id);
if (sectorsize != PAGE_SIZE) {
printk(KERN_WARNING "btrfs: Incompatible sector size(%lu) "
"found on %s\n", (unsigned long)sectorsize, sb->s_id);
goto fail_sb_buffer;
}

Expand Down

0 comments on commit bd05ff3

Please sign in to comment.