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
3aa909ab
Commit
3aa909ab
authored
Feb 17, 2002
by
Robert Love
Committed by
Linus Torvalds
Feb 17, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Re: 2.5: further llseek cleanup (3/3)
parent
687a765a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
drivers/ieee1394/pcilynx.c
drivers/ieee1394/pcilynx.c
+2
-1
No files found.
drivers/ieee1394/pcilynx.c
View file @
3aa909ab
...
@@ -748,10 +748,11 @@ loff_t mem_llseek(struct file *file, loff_t offs, int orig)
...
@@ -748,10 +748,11 @@ loff_t mem_llseek(struct file *file, loff_t offs, int orig)
}
}
if
(
newoffs
<
0
||
newoffs
>
PCILYNX_MAX_MEMORY
+
1
)
{
if
(
newoffs
<
0
||
newoffs
>
PCILYNX_MAX_MEMORY
+
1
)
{
lock_kernel
();
un
lock_kernel
();
return
-
EINVAL
;
return
-
EINVAL
;
}
}
unlock_kernel
();
file
->
f_pos
=
newoffs
;
file
->
f_pos
=
newoffs
;
return
newoffs
;
return
newoffs
;
}
}
...
...
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