]> Git Repo - linux.git/commit - mm/filemap.c
mm: rename page trylock
authorNick Piggin <[email protected]>
Sat, 2 Aug 2008 10:01:03 +0000 (12:01 +0200)
committerLinus Torvalds <[email protected]>
Tue, 5 Aug 2008 04:31:34 +0000 (21:31 -0700)
commit529ae9aaa08378cfe2a4350bded76f32cc8ff0ce
treed3ae998f9876c72a83a022805103a92111852b21
parente9ba9698187ddbc0c5bfcf41de0349a662d23d02
mm: rename page trylock

Converting page lock to new locking bitops requires a change of page flag
operation naming, so we might as well convert it to something nicer
(!TestSetPageLocked_Lock => trylock_page, SetPageLocked => set_page_locked).

This also facilitates lockdeping of page lock.

Signed-off-by: Nick Piggin <[email protected]>
Acked-by: KOSAKI Motohiro <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Acked-by: Andrew Morton <[email protected]>
Acked-by: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
20 files changed:
drivers/scsi/sg.c
fs/afs/write.c
fs/cifs/file.c
fs/jbd/commit.c
fs/jbd2/commit.c
fs/reiserfs/journal.c
fs/splice.c
fs/xfs/linux-2.6/xfs_aops.c
include/linux/page-flags.h
include/linux/pagemap.h
mm/filemap.c
mm/memory.c
mm/migrate.c
mm/rmap.c
mm/shmem.c
mm/swap.c
mm/swap_state.c
mm/swapfile.c
mm/truncate.c
mm/vmscan.c
This page took 0.069029 seconds and 4 git commands to generate.