Skip to content

Commit

Permalink
Staging: Pohmelfs: Use wait_on_page_timeout when waiting for remote d…
Browse files Browse the repository at this point in the history
…irectory sync instead of hardcoded 25 seconds.

Signed-off-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
bioothod authored and gregkh committed Apr 17, 2009
1 parent d1ec644 commit b82ba78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/pohmelfs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit b82ba78

Please sign in to comment.