Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
dbfb2df7
Commit
dbfb2df7
authored
Jun 19, 2008
by
Jonathan Corbet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bluetooth VHCI: fasync BKL pushdown
Signed-off-by:
Jonathan Corbet
<
corbet@lwn.net
>
parent
5d1e3230
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
drivers/bluetooth/hci_vhci.c
drivers/bluetooth/hci_vhci.c
+6
-3
No files found.
drivers/bluetooth/hci_vhci.c
View file @
dbfb2df7
...
@@ -318,18 +318,21 @@ static int vhci_release(struct inode *inode, struct file *file)
...
@@ -318,18 +318,21 @@ static int vhci_release(struct inode *inode, struct file *file)
static
int
vhci_fasync
(
int
fd
,
struct
file
*
file
,
int
on
)
static
int
vhci_fasync
(
int
fd
,
struct
file
*
file
,
int
on
)
{
{
struct
vhci_data
*
data
=
file
->
private_data
;
struct
vhci_data
*
data
=
file
->
private_data
;
int
err
;
int
err
=
0
;
lock_kernel
();
err
=
fasync_helper
(
fd
,
file
,
on
,
&
data
->
fasync
);
err
=
fasync_helper
(
fd
,
file
,
on
,
&
data
->
fasync
);
if
(
err
<
0
)
if
(
err
<
0
)
return
err
;
goto
out
;
if
(
on
)
if
(
on
)
data
->
flags
|=
VHCI_FASYNC
;
data
->
flags
|=
VHCI_FASYNC
;
else
else
data
->
flags
&=
~
VHCI_FASYNC
;
data
->
flags
&=
~
VHCI_FASYNC
;
return
0
;
out:
unlock_kernel
();
return
err
;
}
}
static
const
struct
file_operations
vhci_fops
=
{
static
const
struct
file_operations
vhci_fops
=
{
...
...
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