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
09f1c56c
Commit
09f1c56c
authored
Jan 10, 2004
by
Eric Sandeen
Committed by
Nathan Scott
Jan 10, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] Update xfs_showargs to reflect all current mount options
SGI Modid: 2.5.x-xfs:slinx:163102a
parent
26ffe53e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
fs/xfs/xfs_vfsops.c
fs/xfs/xfs_vfsops.c
+8
-1
No files found.
fs/xfs/xfs_vfsops.c
View file @
09f1c56c
...
@@ -1784,10 +1784,14 @@ xfs_showargs(
...
@@ -1784,10 +1784,14 @@ xfs_showargs(
char
*
str
;
char
*
str
;
}
xfs_info
[]
=
{
}
xfs_info
[]
=
{
/* the few simple ones we can get from the mount struct */
/* the few simple ones we can get from the mount struct */
{
XFS_MOUNT_WSYNC
,
","
MNTOPT_WSYNC
},
{
XFS_MOUNT_INO64
,
","
MNTOPT_INO64
},
{
XFS_MOUNT_NOALIGN
,
","
MNTOPT_NOALIGN
},
{
XFS_MOUNT_NOALIGN
,
","
MNTOPT_NOALIGN
},
{
XFS_MOUNT_NOUUID
,
","
MNTOPT_NOUUID
},
{
XFS_MOUNT_NORECOVERY
,
","
MNTOPT_NORECOVERY
},
{
XFS_MOUNT_NORECOVERY
,
","
MNTOPT_NORECOVERY
},
{
XFS_MOUNT_OSYNCISOSYNC
,
","
MNTOPT_OSYNCISOSYNC
},
{
XFS_MOUNT_OSYNCISOSYNC
,
","
MNTOPT_OSYNCISOSYNC
},
{
XFS_MOUNT_NOUUID
,
","
MNTOPT_NOUUID
},
{
XFS_MOUNT_NOLOGFLUSH
,
","
MNTOPT_NOLOGFLUSH
},
{
XFS_MOUNT_IDELETE
,
","
MNTOPT_NOIKEEP
},
{
0
,
NULL
}
{
0
,
NULL
}
};
};
struct
proc_xfs_info
*
xfs_infop
;
struct
proc_xfs_info
*
xfs_infop
;
...
@@ -1823,6 +1827,9 @@ xfs_showargs(
...
@@ -1823,6 +1827,9 @@ xfs_showargs(
seq_printf
(
m
,
","
MNTOPT_SWIDTH
"=%d"
,
seq_printf
(
m
,
","
MNTOPT_SWIDTH
"=%d"
,
(
int
)
XFS_FSB_TO_BB
(
mp
,
mp
->
m_swidth
));
(
int
)
XFS_FSB_TO_BB
(
mp
,
mp
->
m_swidth
));
if
(
!
(
mp
->
m_flags
&
XFS_MOUNT_32BITINOOPT
))
seq_printf
(
m
,
","
MNTOPT_64BITINODE
);
return
0
;
return
0
;
}
}
...
...
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