dm.c (86a3238c7b9b759cb864f4f768ab2e24687dc0e6) dm.c (2f06cd12e11422e4a44ad4cb856c3ef0be9bd208)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2001, 2002 Sistina Software (UK) Limited.
4 * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved.
5 *
6 * This file is released under the GPL.
7 */
8

--- 36 unchanged lines hidden (view full) ---

45 * For REQ_POLLED fs bio, this flag is set if we link mapped underlying
46 * dm_io into one list, and reuse bio->bi_private as the list head. Before
47 * ending this fs bio, we will recover its ->bi_private.
48 */
49#define REQ_DM_POLL_LIST REQ_DRV
50
51static const char *_name = DM_NAME;
52
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2001, 2002 Sistina Software (UK) Limited.
4 * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved.
5 *
6 * This file is released under the GPL.
7 */
8

--- 36 unchanged lines hidden (view full) ---

45 * For REQ_POLLED fs bio, this flag is set if we link mapped underlying
46 * dm_io into one list, and reuse bio->bi_private as the list head. Before
47 * ending this fs bio, we will recover its ->bi_private.
48 */
49#define REQ_DM_POLL_LIST REQ_DRV
50
51static const char *_name = DM_NAME;
52
53static unsigned int major = 0;
54static unsigned int _major = 0;
53static unsigned int major;
54static unsigned int _major;
55
56static DEFINE_IDR(_minor_idr);
57
58static DEFINE_SPINLOCK(_minor_lock);
59
60static void do_deferred_remove(struct work_struct *w);
61
62static DECLARE_WORK(deferred_remove_work, do_deferred_remove);

--- 3332 unchanged lines hidden ---
55
56static DEFINE_IDR(_minor_idr);
57
58static DEFINE_SPINLOCK(_minor_lock);
59
60static void do_deferred_remove(struct work_struct *w);
61
62static DECLARE_WORK(deferred_remove_work, do_deferred_remove);

--- 3332 unchanged lines hidden ---