forked from luck/tmp_suning_uos_patched
51ff87bdd9
As requested by Christoph, this patch cleans up GFS2's internal read function so that it no longer uses the do_generic_mapping_read function. This function is obsolete and GFS2 is the last user of it. As a side effect the internal read code gets smaller and easier to read and gfs2_readpage is split into two. One function has the locking and the other function has the rest of the logic. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com> Cc: Christoph Hellwig <hch@infradead.org>
25 lines
825 B
C
25 lines
825 B
C
/*
|
|
* Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
|
|
* Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved.
|
|
*
|
|
* This copyrighted material is made available to anyone wishing to use,
|
|
* modify, copy, or redistribute it subject to the terms and conditions
|
|
* of the GNU General Public License version 2.
|
|
*/
|
|
|
|
#ifndef __OPS_INODE_DOT_H__
|
|
#define __OPS_INODE_DOT_H__
|
|
|
|
#include <linux/fs.h>
|
|
|
|
extern const struct inode_operations gfs2_file_iops;
|
|
extern const struct inode_operations gfs2_dir_iops;
|
|
extern const struct inode_operations gfs2_symlink_iops;
|
|
extern const struct inode_operations gfs2_dev_iops;
|
|
extern const struct file_operations gfs2_file_fops;
|
|
extern const struct file_operations gfs2_dir_fops;
|
|
|
|
extern void gfs2_set_inode_flags(struct inode *inode);
|
|
|
|
#endif /* __OPS_INODE_DOT_H__ */
|