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
7206852c
Commit
7206852c
authored
Sep 27, 2002
by
Christoph Hellwig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XFS: Fix the mount-cleanup for single-subvolume filesystems.
Modid: 2.5.x-xfs:slinx:128192a
parent
1cb2d696
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
26 deletions
+23
-26
fs/xfs/xfs_vfsops.c
fs/xfs/xfs_vfsops.c
+23
-26
No files found.
fs/xfs/xfs_vfsops.c
View file @
7206852c
...
@@ -221,8 +221,6 @@ xfs_start_flags(
...
@@ -221,8 +221,6 @@ xfs_start_flags(
mp
->
m_swidth
=
ap
->
swidth
;
mp
->
m_swidth
=
ap
->
swidth
;
}
}
if
((
mp
->
m_logdev_targp
!=
NULL
)
&&
(
mp
->
m_logdev_targp
!=
mp
->
m_ddev_targp
))
{
if
(
ap
->
logbufs
!=
0
&&
ap
->
logbufs
!=
-
1
&&
if
(
ap
->
logbufs
!=
0
&&
ap
->
logbufs
!=
-
1
&&
(
ap
->
logbufs
<
XLOG_NUM_ICLOGS
||
(
ap
->
logbufs
<
XLOG_NUM_ICLOGS
||
ap
->
logbufs
>
XLOG_MAX_ICLOGS
))
{
ap
->
logbufs
>
XLOG_MAX_ICLOGS
))
{
...
@@ -247,7 +245,6 @@ xfs_start_flags(
...
@@ -247,7 +245,6 @@ xfs_start_flags(
mp
->
m_fsname_len
=
strlen
(
ap
->
fsname
)
+
1
;
mp
->
m_fsname_len
=
strlen
(
ap
->
fsname
)
+
1
;
mp
->
m_fsname
=
kmem_alloc
(
mp
->
m_fsname_len
,
KM_SLEEP
);
mp
->
m_fsname
=
kmem_alloc
(
mp
->
m_fsname_len
,
KM_SLEEP
);
strcpy
(
mp
->
m_fsname
,
ap
->
fsname
);
strcpy
(
mp
->
m_fsname
,
ap
->
fsname
);
}
/*
/*
* Pull in the 'wsync' and 'ino64' mount options before we do the real
* Pull in the 'wsync' and 'ino64' mount options before we do the real
...
...
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