No instance of ->bmap() needs BKL
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
b0895513f4
commit
fe36adf47e
|
@ -187,7 +187,7 @@ readpages: no
|
||||||
write_begin: no locks the page yes
|
write_begin: no locks the page yes
|
||||||
write_end: no yes, unlocks yes
|
write_end: no yes, unlocks yes
|
||||||
perform_write: no n/a yes
|
perform_write: no n/a yes
|
||||||
bmap: yes
|
bmap: no
|
||||||
invalidatepage: no yes
|
invalidatepage: no yes
|
||||||
releasepage: no yes
|
releasepage: no yes
|
||||||
direct_IO: no
|
direct_IO: no
|
||||||
|
|
|
@ -70,9 +70,7 @@ static int ioctl_fibmap(struct file *filp, int __user *p)
|
||||||
res = get_user(block, p);
|
res = get_user(block, p);
|
||||||
if (res)
|
if (res)
|
||||||
return res;
|
return res;
|
||||||
lock_kernel();
|
|
||||||
res = mapping->a_ops->bmap(mapping, block);
|
res = mapping->a_ops->bmap(mapping, block);
|
||||||
unlock_kernel();
|
|
||||||
return put_user(res, p);
|
return put_user(res, p);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue