forked from Minki/linux
apparmor: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
c0d4be289e
commit
e6c5a7d997
|
@ -571,10 +571,10 @@ static int ns_revision_open(struct inode *inode, struct file *file)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static unsigned int ns_revision_poll(struct file *file, poll_table *pt)
|
static __poll_t ns_revision_poll(struct file *file, poll_table *pt)
|
||||||
{
|
{
|
||||||
struct aa_revision *rev = file->private_data;
|
struct aa_revision *rev = file->private_data;
|
||||||
unsigned int mask = 0;
|
__poll_t mask = 0;
|
||||||
|
|
||||||
if (rev) {
|
if (rev) {
|
||||||
mutex_lock_nested(&rev->ns->lock, rev->ns->level);
|
mutex_lock_nested(&rev->ns->lock, rev->ns->level);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user