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
fe36adf4
Commit
fe36adf4
authored
Jun 16, 2009
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No instance of ->bmap() needs BKL
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
b0895513
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
Documentation/filesystems/Locking
Documentation/filesystems/Locking
+1
-1
fs/ioctl.c
fs/ioctl.c
+0
-2
No files found.
Documentation/filesystems/Locking
View file @
fe36adf4
...
...
@@ -187,7 +187,7 @@ readpages: no
write_begin: no locks the page yes
write_end: no yes, unlocks yes
perform_write: no n/a yes
bmap:
yes
bmap:
no
invalidatepage: no yes
releasepage: no yes
direct_IO: no
...
...
fs/ioctl.c
View file @
fe36adf4
...
...
@@ -70,9 +70,7 @@ static int ioctl_fibmap(struct file *filp, int __user *p)
res
=
get_user
(
block
,
p
);
if
(
res
)
return
res
;
lock_kernel
();
res
=
mapping
->
a_ops
->
bmap
(
mapping
,
block
);
unlock_kernel
();
return
put_user
(
res
,
p
);
}
...
...
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