linux/fs/bfs/file.c

// SPDX-License-Identifier: GPL-2.0
/*
 *	fs/bfs/file.c
 *	BFS file operations.
 *	Copyright (C) 1999-2018 Tigran Aivazian <[email protected]>
 *
 *	Make the file block allocation algorithm understand the size
 *	of the underlying block device.
 *	Copyright (C) 2007 Dmitri Vorobiev <[email protected]>
 *
 */

#include <linux/fs.h>
#include <linux/mpage.h>
#include <linux/buffer_head.h>
#include "bfs.h"

#undef DEBUG

#ifdef DEBUG
#define dprintf
#else
#define dprintf(x...)
#endif

const struct file_operations bfs_file_operations =;

static int bfs_move_block(unsigned long from, unsigned long to,
					struct super_block *sb)
{}

static int bfs_move_blocks(struct super_block *sb, unsigned long start,
				unsigned long end, unsigned long where)
{}

static int bfs_get_block(struct inode *inode, sector_t block,
			struct buffer_head *bh_result, int create)
{}

static int bfs_writepages(struct address_space *mapping,
		struct writeback_control *wbc)
{}

static int bfs_read_folio(struct file *file, struct folio *folio)
{}

static void bfs_write_failed(struct address_space *mapping, loff_t to)
{}

static int bfs_write_begin(struct file *file, struct address_space *mapping,
			loff_t pos, unsigned len,
			struct page **pagep, void **fsdata)
{}

static sector_t bfs_bmap(struct address_space *mapping, sector_t block)
{}

const struct address_space_operations bfs_aops =;

const struct inode_operations bfs_file_inops;