diff options
| author | Miaohe Lin <[email protected]> | 2020-10-16 03:10:08 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2020-10-16 18:11:19 +0000 |
| commit | 73eb7f9a4ff034d20c8f9454a5a6f45a60cf8dfc (patch) | |
| tree | 5ae619c217e9dcfd5e14fafdc05388921b23f70a /lib/netdev-notifier-error-inject.c | |
| parent | mm/workingset.c: fix some doc warnings (diff) | |
| download | kernel-73eb7f9a4ff034d20c8f9454a5a6f45a60cf8dfc.tar.gz kernel-73eb7f9a4ff034d20c8f9454a5a6f45a60cf8dfc.zip | |
mm: use helper function put_write_access()
In commit 1da177e4c3f4 ("Linux-2.6.12-rc2"), the helper put_write_access()
came with the atomic_dec operation of the i_writecount field. But it
forgot to use this helper in __vma_link_file() and dup_mmap().
Signed-off-by: Miaohe Lin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
