Commit 00acb28d authored by Darrick J. Wong's avatar Darrick J. Wong

xfs: declare xfs_file.c symbols in xfs_file.h

Move the two public symbols in xfs_file.c to xfs_file.h.  We're about to
add more public symbols in that source file, so let's finally create the
header file.
Signed-off-by: default avatarDarrick J. Wong <djwong@kernel.org>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
parent 3fc48445
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include "xfs_pnfs.h" #include "xfs_pnfs.h"
#include "xfs_iomap.h" #include "xfs_iomap.h"
#include "xfs_reflink.h" #include "xfs_reflink.h"
#include "xfs_file.h"
#include <linux/dax.h> #include <linux/dax.h>
#include <linux/falloc.h> #include <linux/falloc.h>
......
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (c) 2000-2005 Silicon Graphics, Inc.
* All Rights Reserved.
*/
#ifndef __XFS_FILE_H__
#define __XFS_FILE_H__
extern const struct file_operations xfs_file_operations;
extern const struct file_operations xfs_dir_file_operations;
#endif /* __XFS_FILE_H__ */
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
#include "xfs_ioctl.h" #include "xfs_ioctl.h"
#include "xfs_xattr.h" #include "xfs_xattr.h"
#include "xfs_rtbitmap.h" #include "xfs_rtbitmap.h"
#include "xfs_file.h"
#include <linux/mount.h> #include <linux/mount.h>
#include <linux/namei.h> #include <linux/namei.h>
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include "xfs_error.h" #include "xfs_error.h"
#include "xfs_ioctl.h" #include "xfs_ioctl.h"
#include "xfs_xattr.h" #include "xfs_xattr.h"
#include "xfs_file.h"
#include <linux/posix_acl.h> #include <linux/posix_acl.h>
#include <linux/security.h> #include <linux/security.h>
......
...@@ -8,9 +8,6 @@ ...@@ -8,9 +8,6 @@
struct xfs_inode; struct xfs_inode;
extern const struct file_operations xfs_file_operations;
extern const struct file_operations xfs_dir_file_operations;
extern ssize_t xfs_vn_listxattr(struct dentry *, char *data, size_t size); extern ssize_t xfs_vn_listxattr(struct dentry *, char *data, size_t size);
int xfs_vn_setattr_size(struct mnt_idmap *idmap, int xfs_vn_setattr_size(struct mnt_idmap *idmap,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment