summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2003-07-10 10:03:17 -0700
committerLinus Torvalds <torvalds@home.osdl.org>2003-07-10 10:03:17 -0700
commit49e57bfcd874860734d0ad63c56eac41f269f777 (patch)
tree824627b0569ecec11d4c93f3ba2cd1aab3a9924e /include/linux
parent9c976399db59060d31c778e482682b4cabd46ce7 (diff)
[PATCH] nbd: remove unneeded blksize_bits field
From: Lou Langholtz <ldl@aros.net> This fourth patch simply removes the blksize_bits field from the nbd_device struct and driver implementation. How this field made it into this driver to begin with is a mystery (where was Al Viro when that patch was submitted??). :-) This patch modifies both drivers/block/nbd.c and include/linux/nbd.h files. It's intended to be applied incrementally on top of my third patch (for enhanced diagnostics support).
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/nbd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/nbd.h b/include/linux/nbd.h
index d0dae25ae2e0..82bd3e78e7e4 100644
--- a/include/linux/nbd.h
+++ b/include/linux/nbd.h
@@ -5,6 +5,8 @@
* 2001 Copyright (C) Steven Whitehouse
* New nbd_end_request() for compatibility with new linux block
* layer code.
+ * 2003/06/24 Louis D. Langholtz <ldl@aros.net>
+ * Removed unneeded blksize_bits field from nbd_device struct.
*/
#ifndef LINUX_NBD_H
@@ -50,7 +52,6 @@ struct nbd_device {
struct semaphore tx_lock;
struct gendisk *disk;
int blksize;
- int blksize_bits;
u64 bytesize;
};