]> err.no Git - linux-2.6/commit
mm: rename page trylock
authorNick Piggin <npiggin@suse.de>
Sat, 2 Aug 2008 10:01:03 +0000 (12:01 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
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 <npiggin@suse.de>
Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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