From 49e57bfcd874860734d0ad63c56eac41f269f777 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Thu, 10 Jul 2003 10:03:17 -0700 Subject: [PATCH] nbd: remove unneeded blksize_bits field From: Lou Langholtz 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). --- include/linux/nbd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/linux') 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 + * 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; }; -- cgit v1.2.3