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
9d304963
Commit
9d304963
authored
Feb 28, 2004
by
Nathan Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] Fix length of mount argument path strings, off by one.
SGI Modid: xfs-linux:xfs-kern:167192a
parent
315e2d46
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
fs/xfs/xfs_clnt.h
fs/xfs/xfs_clnt.h
+5
-5
No files found.
fs/xfs/xfs_clnt.h
View file @
9d304963
/*
/*
* 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
...
@@ -57,10 +57,10 @@ struct xfs_mount_args {
...
@@ -57,10 +57,10 @@ struct xfs_mount_args {
int
flags
;
/* flags -> see XFSMNT_... macros below */
int
flags
;
/* flags -> see XFSMNT_... macros below */
int
logbufs
;
/* Number of log buffers, -1 to default */
int
logbufs
;
/* Number of log buffers, -1 to default */
int
logbufsize
;
/* Size of log buffers, -1 to default */
int
logbufsize
;
/* Size of log buffers, -1 to default */
char
fsname
[
MAXNAMELEN
];
/* data device name */
char
fsname
[
MAXNAMELEN
+
1
];
/* data device name */
char
rtname
[
MAXNAMELEN
];
/* realtime device filename */
char
rtname
[
MAXNAMELEN
+
1
];
/* realtime device filename */
char
logname
[
MAXNAMELEN
];
/* journal device filename */
char
logname
[
MAXNAMELEN
+
1
];
/* journal device filename */
char
mtpt
[
MAXNAMELEN
];
/* filesystem mount point */
char
mtpt
[
MAXNAMELEN
+
1
];
/* filesystem mount point */
int
sunit
;
/* stripe unit (BBs) */
int
sunit
;
/* stripe unit (BBs) */
int
swidth
;
/* stripe width (BBs), multiple of sunit */
int
swidth
;
/* stripe width (BBs), multiple of sunit */
uchar_t
iosizelog
;
/* log2 of the preferred I/O size */
uchar_t
iosizelog
;
/* log2 of the preferred I/O size */
...
...
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