aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/file.c')
-rw-r--r--fs/cifs/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c
index 0aac824371a5..e692c42f24b5 100644
--- a/fs/cifs/file.c
+++ b/fs/cifs/file.c
@@ -1280,7 +1280,7 @@ retry:
1280 1280
1281 if (first < 0) 1281 if (first < 0)
1282 lock_page(page); 1282 lock_page(page);
1283 else if (TestSetPageLocked(page)) 1283 else if (!trylock_page(page))
1284 break; 1284 break;
1285 1285
1286 if (unlikely(page->mapping != mapping)) { 1286 if (unlikely(page->mapping != mapping)) {