patch-2.4.14 linux/drivers/s390/block/xpram.c

Next file: linux/drivers/s390/char/tapeblock.c
Previous file: linux/drivers/s390/block/dasd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.13/linux/drivers/s390/block/xpram.c linux/drivers/s390/block/xpram.c
@@ -608,7 +608,6 @@
                      dev->size,dev->device_name, atomic_read(&(dev->usage)));
 
 	atomic_inc(&(dev->usage));
-	MOD_INC_USE_COUNT;
 	return 0;          /* success */
 }
 
@@ -627,7 +626,6 @@
 		/* but flush it right now */
 		/* Everything is already flushed by caller -- AV */
 	}
-	MOD_DEC_USE_COUNT;
 	return(0);
 }
 
@@ -740,6 +738,7 @@
 #if (XPRAM_VERSION == 24)
 struct block_device_operations xpram_devops =
 {
+	owner:   THIS_MODULE,
 	ioctl:   xpram_ioctl,
 	open:    xpram_open,
 	release: xpram_release,

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)