Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23530
b: refs/heads/master
c: 5b7b18c
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Mar 25, 2006
1 parent 001507c commit 7c629fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 1aef821a6b3aeca8c19d06aee012ed9db617d1e3
refs/heads/master: 5b7b18ccdeb17dcc4a2ddbf4ce87094c7365f4b9
5 changes: 1 addition & 4 deletions trunk/drivers/block/nbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -639,10 +639,7 @@ static int __init nbd_init(void)
int err = -ENOMEM;
int i;

if (sizeof(struct nbd_request) != 28) {
printk(KERN_CRIT "nbd: sizeof nbd_request needs to be 28 in order to work!\n" );
return -EIO;
}
BUILD_BUG_ON(sizeof(struct nbd_request) != 28);

if (nbds_max > MAX_NBD) {
printk(KERN_CRIT "nbd: cannot allocate more than %u nbds; %u requested.\n", MAX_NBD,
Expand Down

0 comments on commit 7c629fd

Please sign in to comment.