Commit fe36adf47eb1f7f4972559efa30ce3d2d3f977f2

Authored by Al Viro
1 parent b0895513f4

No instance of ->bmap() needs BKL

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Showing 2 changed files with 1 additions and 3 deletions Side-by-side Diff

Documentation/filesystems/Locking
... ... @@ -187,7 +187,7 @@
187 187 write_begin: no locks the page yes
188 188 write_end: no yes, unlocks yes
189 189 perform_write: no n/a yes
190   -bmap: yes
  190 +bmap: no
191 191 invalidatepage: no yes
192 192 releasepage: no yes
193 193 direct_IO: no
... ... @@ -70,9 +70,7 @@
70 70 res = get_user(block, p);
71 71 if (res)
72 72 return res;
73   - lock_kernel();
74 73 res = mapping->a_ops->bmap(mapping, block);
75   - unlock_kernel();
76 74 return put_user(res, p);
77 75 }
78 76