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
70ab27dd
Commit
70ab27dd
authored
Apr 15, 2013
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpt3sas: don't wank with fasync on ->release()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
96625a74
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
drivers/scsi/mpt3sas/mpt3sas_ctl.c
drivers/scsi/mpt3sas/mpt3sas_ctl.c
+0
-14
No files found.
drivers/scsi/mpt3sas/mpt3sas_ctl.c
View file @
70ab27dd
...
...
@@ -502,19 +502,6 @@ _ctl_fasync(int fd, struct file *filep, int mode)
return
fasync_helper
(
fd
,
filep
,
mode
,
&
async_queue
);
}
/**
* _ctl_release -
* @inode -
* @filep -
*
* Called when application releases the fasyn callback handler.
*/
static
int
_ctl_release
(
struct
inode
*
inode
,
struct
file
*
filep
)
{
return
fasync_helper
(
-
1
,
filep
,
0
,
&
async_queue
);
}
/**
* _ctl_poll -
* @file -
...
...
@@ -3233,7 +3220,6 @@ struct device_attribute *mpt3sas_dev_attrs[] = {
static
const
struct
file_operations
ctl_fops
=
{
.
owner
=
THIS_MODULE
,
.
unlocked_ioctl
=
_ctl_ioctl
,
.
release
=
_ctl_release
,
.
poll
=
_ctl_poll
,
.
fasync
=
_ctl_fasync
,
#ifdef CONFIG_COMPAT
...
...
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