Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b2760583 authored by Steven Whitehouse's avatar Steven Whitehouse
Browse files

GFS2: Rationalise header files



Move the contents of some headers which contained very
little into more sensible places, and remove the original
header files. This should make it easier to find things.

Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent e9079cce
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -32,7 +32,6 @@
#include "log.h"
#include "meta_io.h"
#include "ops_address.h"
#include "ops_inode.h"
#include "quota.h"
#include "rgrp.h"
#include "trans.h"
+11 −0
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@
#ifndef __INODE_DOT_H__
#define __INODE_DOT_H__

#include <linux/fs.h>
#include "util.h"

static inline int gfs2_is_stuffed(const struct gfs2_inode *ip)
@@ -97,5 +98,15 @@ struct inode *gfs2_lookup_simple(struct inode *dip, const char *name);
void gfs2_dinode_out(const struct gfs2_inode *ip, void *buf);
void gfs2_dinode_print(const struct gfs2_inode *ip);

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 file_operations gfs2_file_fops;
extern const struct file_operations gfs2_dir_fops;
extern const struct file_operations gfs2_file_fops_nolock;
extern const struct file_operations gfs2_dir_fops_nolock;

extern void gfs2_set_inode_flags(struct inode *inode);

#endif /* __INODE_DOT_H__ */
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@

#include "gfs2.h"
#include "incore.h"
#include "ops_fstype.h"
#include "super.h"
#include "sys.h"
#include "util.h"
#include "glock.h"
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@
#include "incore.h"
#include "dir.h"
#include "glock.h"
#include "ops_dentry.h"
#include "super.h"
#include "util.h"
#include "inode.h"

fs/gfs2/ops_dentry.h

deleted100644 → 0
+0 −17
Original line number Diff line number Diff line
/*
 * 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_DENTRY_DOT_H__
#define __OPS_DENTRY_DOT_H__

#include <linux/dcache.h>

extern struct dentry_operations gfs2_dops;

#endif /* __OPS_DENTRY_DOT_H__ */
Loading