Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
25d1280a
Commit
25d1280a
authored
May 22, 2004
by
Dean Roehrich
Committed by
Nathan Scott
May 22, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] Prep for using dmapi code outside of xfs tree
SGI Modid: xfs-linux:xfs-kern:170510a
parent
b5e60fe2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
2 deletions
+17
-2
fs/xfs/linux/xfs_super.c
fs/xfs/linux/xfs_super.c
+1
-0
fs/xfs/linux/xfs_super.h
fs/xfs/linux/xfs_super.h
+7
-0
fs/xfs/xfs_dmapi.h
fs/xfs/xfs_dmapi.h
+9
-2
No files found.
fs/xfs/linux/xfs_super.c
View file @
25d1280a
...
...
@@ -836,6 +836,7 @@ exit_xfs_fs( void )
vfs_exitquota
();
vfs_exitdmapi
();
unregister_filesystem
(
&
xfs_fs_type
);
XFS_DM_EXIT
();
xfs_cleanup
();
pagebuf_terminate
();
destroy_inodecache
();
...
...
fs/xfs/linux/xfs_super.h
View file @
25d1280a
...
...
@@ -92,6 +92,12 @@ extern void xfs_qm_exit(void);
# define XFS_TRACE_STRING
#endif
#ifdef CONFIG_XFS_DMAPI
# define XFS_DMAPI_STRING "dmapi support, "
#else
# define XFS_DMAPI_STRING
#endif
#ifdef XFSDEBUG
# define XFS_DBG_STRING "debug"
#else
...
...
@@ -103,6 +109,7 @@ extern void xfs_qm_exit(void);
XFS_REALTIME_STRING \
XFS_BIGFS_STRING \
XFS_TRACE_STRING \
XFS_DMAPI_STRING \
XFS_DBG_STRING
/* DBG must be last */
#define LINVFS_GET_VFS(s) \
...
...
fs/xfs/xfs_dmapi.h
View file @
25d1280a
...
...
@@ -199,7 +199,14 @@ typedef enum {
extern
struct
bhv_vfsops
xfs_dmops
;
extern
int
dmapi_init
(
void
);
extern
void
dmapi_uninit
(
void
);
#if defined(CONFIG_XFS_DMAPI) || defined(CONFIG_XFS_DMAPI_MODULE)
void
xfs_dm_init
(
void
);
void
xfs_dm_exit
(
void
);
#define XFS_DM_INIT() xfs_dm_init()
#define XFS_DM_EXIT() xfs_dm_exit()
#else
#define XFS_DM_INIT()
#define XFS_DM_EXIT()
#endif
#endif
/* __XFS_DMAPI_H__ */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment