projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1ec644
)
Staging: Pohmelfs: Use wait_on_page_timeout when waiting for remote directory sync...
author
Evgeniy Polyakov
<zbr@ioremap.net>
Fri, 27 Mar 2009 12:04:26 +0000
(15:04 +0300)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 17 Apr 2009 18:06:30 +0000
(11:06 -0700)
Signed-off-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/pohmelfs/dir.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/pohmelfs/dir.c
b/drivers/staging/pohmelfs/dir.c
index 10d21a49d28b3073601073863aa9bf5e0594211c..b5799842fb8474d90970a7c299abea506729504e 100644
(file)
--- 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",