git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix congestion_wait() sync/async vs read/write confusion
[pandora-kernel.git]
/
fs
/
fat
/
file.c
diff --git
a/fs/fat/file.c
b/fs/fat/file.c
index
b28ea64
..
f042b96
100644
(file)
--- a/
fs/fat/file.c
+++ b/
fs/fat/file.c
@@
-134,7
+134,7
@@
static int fat_file_release(struct inode *inode, struct file *filp)
if ((filp->f_mode & FMODE_WRITE) &&
MSDOS_SB(inode->i_sb)->options.flush) {
fat_flush_inodes(inode->i_sb, inode, NULL);
- congestion_wait(
WRITE
, HZ/10);
+ congestion_wait(
BLK_RW_ASYNC
, HZ/10);
}
return 0;
}