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
nexedi
linux
Commits
1671540e
Commit
1671540e
authored
Apr 02, 2004
by
Nathan Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] Disallow logbufs=0 unless the correct compilation flags used,
else we panic. SGI Modid: xfs-linux:xfs-kern:169200a
parent
fc6a8b0d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
fs/xfs/xfs_vfsops.c
fs/xfs/xfs_vfsops.c
+5
-2
No files found.
fs/xfs/xfs_vfsops.c
View file @
1671540e
/*
/*
* XFS filesystem operations.
* XFS filesystem operations.
*
*
* Copyright (c) 2000-200
3
Silicon Graphics, Inc. All Rights Reserved.
* Copyright (c) 2000-200
4
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
...
@@ -229,7 +229,10 @@ xfs_start_flags(
...
@@ -229,7 +229,10 @@ xfs_start_flags(
mp
->
m_swidth
=
ap
->
swidth
;
mp
->
m_swidth
=
ap
->
swidth
;
}
}
if
(
ap
->
logbufs
!=
0
&&
ap
->
logbufs
!=
-
1
&&
if
(
ap
->
logbufs
!=
-
1
&&
#if defined(DEBUG) || defined(XLOG_NOLOG)
ap
->
logbufs
!=
0
&&
#endif
(
ap
->
logbufs
<
XLOG_MIN_ICLOGS
||
(
ap
->
logbufs
<
XLOG_MIN_ICLOGS
||
ap
->
logbufs
>
XLOG_MAX_ICLOGS
))
{
ap
->
logbufs
>
XLOG_MAX_ICLOGS
))
{
cmn_err
(
CE_WARN
,
cmn_err
(
CE_WARN
,
...
...
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