mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
Staging: Pohmelfs: Use wait_on_page_timeout when waiting for remote directory sync instead of hardcoded 25 seconds.
Signed-off-by: Evgeniy Polyakov <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
d1ec64409b
commit
b82ba780a7
1 changed files with 1 additions and 1 deletions
|
|
@ -328,7 +328,7 @@ static int pohmelfs_sync_remote_dir(struct pohmelfs_inode *pi)
|
|||
{
|
||||
struct inode *inode = &pi->vfs_inode;
|
||||
struct pohmelfs_sb *psb = POHMELFS_SB(inode->i_sb);
|
||||
long ret = msecs_to_jiffies(25000);
|
||||
long ret = psb->wait_on_page_timeout;
|
||||
int err;
|
||||
|
||||
dprintk("%s: dir: %llu, state: %lx: remote_synced: %d.\n",
|
||||
|
|
|
|||
Loading…
Reference in a new issue