[PATCH] sem2mutex: blockdev #2
[deliverable/linux.git] / include / linux / fs.h
index 128d0082522c4ad067bbffd4199b879ba79c977b..009ac96053fe40b0cd13b2122036a9d0b1206f64 100644 (file)
@@ -397,8 +397,8 @@ struct block_device {
        dev_t                   bd_dev;  /* not a kdev_t - it's a search key */
        struct inode *          bd_inode;       /* will die */
        int                     bd_openers;
-       struct semaphore        bd_sem; /* open/close mutex */
-       struct semaphore        bd_mount_sem;   /* mount mutex */
+       struct mutex            bd_mutex;       /* open/close mutex */
+       struct mutex            bd_mount_mutex; /* mount mutex */
        struct list_head        bd_inodes;
        void *                  bd_holder;
        int                     bd_holders;
This page took 0.02769 seconds and 5 git commands to generate.