projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d0a8a4
)
ubd: Remove unused mutex 'ubd_mutex'
author
Dr. David Alan Gilbert
<linux@treblig.org>
Sun, 5 May 2024 00:15:08 +0000
(
01:15
+0100)
committer
Johannes Berg
<johannes.berg@intel.com>
Wed, 3 Jul 2024 10:21:29 +0000
(12:21 +0200)
Commit
fb5d1d389c9e
("ubd: open the backing files in ubd_add")
removed the last use of ubd_mutex.
Remove it.
Build and kernel startup test only.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link:
https://patch.msgid.link/20240505001508.255096-1-linux@treblig.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/um/drivers/ubd_kern.c
patch
|
blob
|
history
diff --git
a/arch/um/drivers/ubd_kern.c
b/arch/um/drivers/ubd_kern.c
index
ef805ea
..
1542a6d
100644
(file)
--- a/
arch/um/drivers/ubd_kern.c
+++ b/
arch/um/drivers/ubd_kern.c
@@
-106,7
+106,6
@@
static inline void ubd_set_bit(__u64 bit, unsigned char *data)
#define DRIVER_NAME "uml-blkdev"
static DEFINE_MUTEX(ubd_lock);
-static DEFINE_MUTEX(ubd_mutex); /* replaces BKL, might not be needed */
static int ubd_ioctl(struct block_device *bdev, blk_mode_t mode,
unsigned int cmd, unsigned long arg);