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
ef2ead69
Commit
ef2ead69
authored
May 20, 2003
by
Nathan Scott
Committed by
Christoph Hellwig
May 20, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] Remove some dead code.
SGI Modid: 2.5.x-xfs:slinx:149409a
parent
e6963ec2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
18 deletions
+4
-18
fs/xfs/xfs_log.c
fs/xfs/xfs_log.c
+0
-13
fs/xfs/xfs_log.h
fs/xfs/xfs_log.h
+1
-2
fs/xfs/xfs_log_priv.h
fs/xfs/xfs_log_priv.h
+3
-3
No files found.
fs/xfs/xfs_log.c
View file @
ef2ead69
...
@@ -413,19 +413,6 @@ xfs_log_release_iclog(xfs_mount_t *mp,
...
@@ -413,19 +413,6 @@ xfs_log_release_iclog(xfs_mount_t *mp,
return
0
;
return
0
;
}
}
/*
* Initialize log manager data. This routine is intended to be called when
* a system boots up. It is not a per filesystem initialization.
*
* As you can see, we currently do nothing.
*/
int
xfs_log_init
(
void
)
{
return
(
0
);
}
/*
/*
* 1. Reserve an amount of on-disk log space and return a ticket corresponding
* 1. Reserve an amount of on-disk log space and return a ticket corresponding
* to the reservation.
* to the reservation.
...
...
fs/xfs/xfs_log.h
View file @
ef2ead69
/*
/*
* Copyright (c) 2000-200
2
Silicon Graphics, Inc. All Rights Reserved.
* Copyright (c) 2000-200
3
Silicon Graphics, Inc. All Rights Reserved.
*
*
* This program is free software; you can redistribute it and/or modify it
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* under the terms of version 2 of the GNU General Public License as
...
@@ -153,7 +153,6 @@ xfs_lsn_t xfs_log_done(struct xfs_mount *mp,
...
@@ -153,7 +153,6 @@ xfs_lsn_t xfs_log_done(struct xfs_mount *mp,
int
xfs_log_force
(
struct
xfs_mount
*
mp
,
int
xfs_log_force
(
struct
xfs_mount
*
mp
,
xfs_lsn_t
lsn
,
xfs_lsn_t
lsn
,
uint
flags
);
uint
flags
);
int
xfs_log_init
(
void
);
int
xfs_log_mount
(
struct
xfs_mount
*
mp
,
int
xfs_log_mount
(
struct
xfs_mount
*
mp
,
dev_t
log_dev
,
dev_t
log_dev
,
xfs_daddr_t
start_block
,
xfs_daddr_t
start_block
,
...
...
fs/xfs/xfs_log_priv.h
View file @
ef2ead69
...
@@ -205,9 +205,9 @@ void xlog_grant_add_space(struct log *log, int bytes, int type);
...
@@ -205,9 +205,9 @@ void xlog_grant_add_space(struct log *log, int bytes, int type);
#define LOG_LOCK(log) mutex_spinlock(&(log)->l_icloglock)
#define LOG_LOCK(log) mutex_spinlock(&(log)->l_icloglock)
#define LOG_UNLOCK(log, s) mutex_spinunlock(&(log)->l_icloglock, s)
#define LOG_UNLOCK(log, s) mutex_spinunlock(&(log)->l_icloglock, s)
#define xlog_panic(
s) {cmn_err(CE_PANIC, s); }
#define xlog_panic(
args...) cmn_err(CE_PANIC, ## args)
#define xlog_exit(
s) {cmn_err(CE_PANIC, s); }
#define xlog_exit(
args...) cmn_err(CE_PANIC, ## args)
#define xlog_warn(
s) {cmn_err(CE_WARN, s); }
#define xlog_warn(
args...) cmn_err(CE_WARN, ## args)
/*
/*
* In core log state
* In core log state
...
...
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