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 d40738d2ab58..ff14d14903a0 100644
--- a/fs/cifs/file.c
+++ b/fs/cifs/file.c
@@ -1281,7 +1281,7 @@ retry:
1281 1281
1282 if (first < 0) 1282 if (first < 0)
1283 lock_page(page); 1283 lock_page(page);
1284 else if (TestSetPageLocked(page)) 1284 else if (!trylock_page(page))
1285 break; 1285 break;
1286 1286
1287 if (unlikely(page->mapping != mapping)) { 1287 if (unlikely(page->mapping != mapping)) {