diff options
author | Evgeniy Polyakov <zbr@ioremap.net> | 2009-03-27 12:04:26 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-17 18:06:30 (GMT) |
commit | b82ba780a769a2735c86b5197457972a7df0af08 (patch) | |
tree | 4da0f8901f6e3985c78bbbe75d708d6763ddc6c8 /drivers | |
parent | d1ec64409bf6fed877d0e55e23587b2b6f5d7d58 (diff) | |
download | linux-fsl-qoriq-b82ba780a769a2735c86b5197457972a7df0af08.tar.xz |
Staging: Pohmelfs: Use wait_on_page_timeout when waiting for remote directory sync instead of hardcoded 25 seconds.
Signed-off-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/pohmelfs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/pohmelfs/dir.c b/drivers/staging/pohmelfs/dir.c index 10d21a4..b579984 100644 --- a/drivers/staging/pohmelfs/dir.c +++ b/drivers/staging/pohmelfs/dir.c @@ -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", |