1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* no-block.c: implementation of routines required for non-BLOCK configuration
4 * Copyright (C) 2006 Red Hat, Inc. All Rights Reserved.
5 * Written by David Howells (dhowells@redhat.com)
8 #include <linux/kernel.h>
11 static int no_blkdev_open(struct inode
* inode
, struct file
* filp
)
16 const struct file_operations def_blk_fops
= {
17 .open
= no_blkdev_open
,
18 .llseek
= noop_llseek
,