aboutsummaryrefslogtreecommitdiff
path: root/fs/f2fs/data.c
diff options
context:
space:
mode:
authorDorimanx <yuri@bynet.co.il>2017-06-23 02:10:25 +0300
committerMister Oyster <oysterized@gmail.com>2017-09-04 01:56:31 +0200
commit6a1d3ab5cc013c438029d61bb62dc2b4aeea3595 (patch)
treeb61cf940ec2935956425dbe89a082b893dd570c9 /fs/f2fs/data.c
parentd52d7b5ff55c20c1eafc233c8abdba9926216284 (diff)
downloadandroid_kernel_m2note-6a1d3ab5cc013c438029d61bb62dc2b4aeea3595.tar.gz
FS: F2FS: Use jiffies
Signed-off-by: Joe Maples <joe@frap129.org>
Diffstat (limited to 'fs/f2fs/data.c')
-rw-r--r--fs/f2fs/data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c
index 1e7637dfd..81584aea3 100644
--- a/fs/f2fs/data.c
+++ b/fs/f2fs/data.c
@@ -1351,7 +1351,7 @@ retry_encrypt:
/* flush pending IOs and wait for a while in the ENOMEM case */
if (PTR_ERR(fio->encrypted_page) == -ENOMEM) {
f2fs_flush_merged_writes(fio->sbi);
- congestion_wait(BLK_RW_ASYNC, HZ/50);
+ congestion_wait(BLK_RW_ASYNC, msecs_to_jiffies(20));
gfp_flags |= __GFP_NOFAIL;
goto retry_encrypt;
}