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
da3ba0f0
Commit
da3ba0f0
authored
Mar 17, 2003
by
Stephen Lord
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] initialize the iovec length in symlink cases
SGI Modid: 2.5.x-xfs:slinx:134770a
parent
874f2e47
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
fs/xfs/linux/xfs_iops.c
fs/xfs/linux/xfs_iops.c
+2
-0
No files found.
fs/xfs/linux/xfs_iops.c
View file @
da3ba0f0
...
...
@@ -348,6 +348,7 @@ linvfs_readlink(
uio
.
uio_offset
=
0
;
uio
.
uio_segflg
=
UIO_USERSPACE
;
uio
.
uio_resid
=
size
;
uio
.
uio_iovcnt
=
1
;
VOP_READLINK
(
vp
,
&
uio
,
NULL
,
error
);
if
(
error
)
...
...
@@ -395,6 +396,7 @@ linvfs_follow_link(
uio
->
uio_segflg
=
UIO_SYSSPACE
;
uio
->
uio_resid
=
MAXNAMELEN
;
uio
->
uio_fmode
=
0
;
uio
->
uio_iovcnt
=
1
;
VOP_READLINK
(
vp
,
uio
,
NULL
,
error
);
if
(
error
)
{
...
...
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