projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: rename page trylock
[linux-2.6-block.git]
/
fs
/
afs
/
write.c
diff --git
a/fs/afs/write.c
b/fs/afs/write.c
index 9a849ad3c489411c8043cb66d50f8feceadfe7b8..065b4e10681ae2e449b700ad01c9d3f1c75cd9ab 100644
(file)
--- a/
fs/afs/write.c
+++ b/
fs/afs/write.c
@@
-404,7
+404,7
@@
static int afs_write_back_from_locked_page(struct afs_writeback *wb,
page = pages[loop];
if (page->index > wb->last)
break;
- if (
TestSetPageLocked
(page))
+ if (
!trylock_page
(page))
break;
if (!PageDirty(page) ||
page_private(page) != (unsigned long) wb) {