We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28fc2bd commit 2930662Copy full SHA for 2930662
include/linux/blkdev.h
@@ -892,6 +892,19 @@ int queue_limits_commit_update(struct request_queue *q,
892
struct queue_limits *lim);
893
int queue_limits_set(struct request_queue *q, struct queue_limits *lim);
894
895
+/**
896
+ * queue_limits_cancel_update - cancel an atomic update of queue limits
897
+ * @q: queue to update
898
+ *
899
+ * This functions cancels an atomic update of the queue limits started by
900
+ * queue_limits_start_update() and should be used when an error occurs after
901
+ * starting update.
902
+ */
903
+static inline void queue_limits_cancel_update(struct request_queue *q)
904
+{
905
+ mutex_unlock(&q->limits_lock);
906
+}
907
+
908
/*
909
* Access functions for manipulating queue properties
910
*/
0 commit comments