Merge branch 'bkl-removal' of git://git.lwn.net/linux-2.6
* 'bkl-removal' of git://git.lwn.net/linux-2.6: Rationalize fasync return values Move FASYNC bit handling to f_op->fasync() Use f_lock to protect f_flags Rename struct file->f_ep_lock
This commit is contained in:
@@ -998,8 +998,8 @@ static struct fasync_struct *fasync[256] = { NULL, };
|
||||
static int cosa_fasync(struct inode *inode, struct file *file, int on)
|
||||
{
|
||||
int port = iminor(inode);
|
||||
int rv = fasync_helper(inode, file, on, &fasync[port]);
|
||||
return rv < 0 ? rv : 0;
|
||||
|
||||
return fasync_helper(inode, file, on, &fasync[port]);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user