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
ea7de3cf
Commit
ea7de3cf
authored
Jan 10, 2004
by
Nathan Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] Fix some incorrect debug code after buftarg changes.
SGI Modid: 2.5.x-xfs:slinx:162334a
parent
44612123
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
fs/xfs/xfs_log.c
fs/xfs/xfs_log.c
+3
-4
No files found.
fs/xfs/xfs_log.c
View file @
ea7de3cf
...
...
@@ -1020,7 +1020,6 @@ xlog_bdstrat_cb(struct xfs_buf *bp)
*
* If the filesystem blocksize is too large, we may need to choose a
* larger size since the directory code currently logs entire blocks.
* XXXmiken XXXcurtis
*/
STATIC
void
...
...
@@ -1035,7 +1034,7 @@ xlog_get_iclog_buffer_size(xfs_mount_t *mp,
* When logbufs == 0, someone has disabled the log from the FSTAB
* file. This is not a documented feature. We need to set xlog_debug
* to zero (this deactivates the log) and set xlog_target to the
* appropriate dev
_t
. Only one filesystem may be affected as such
* appropriate dev
ice
. Only one filesystem may be affected as such
* since this is just a performance hack to test what we might be able
* to get if the log were not present.
*/
...
...
@@ -1063,9 +1062,9 @@ xlog_get_iclog_buffer_size(xfs_mount_t *mp,
log
->
l_iclog_bufs
=
mp
->
m_logbufs
;
#if defined(DEBUG) || defined(XLOG_NOLOG)
/* We are reactivating a filesystem after it was active */
/* We are reactivating a filesystem after it was
in
active */
if
(
log
->
l_targ
==
xlog_target
)
{
xlog_target
=
1
;
/* XXX(hch): WTF? */
xlog_target
=
NULL
;
xlog_debug
=
1
;
}
#endif
...
...
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