git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
blkdev: generalize flags for blkdev_issue_fn functions
[safe/jmp/linux-2.6]
/
fs
/
block_dev.c
diff --git
a/fs/block_dev.c
b/fs/block_dev.c
index
ea8385e
..
dd76930
100644
(file)
--- a/
fs/block_dev.c
+++ b/
fs/block_dev.c
@@
-413,7
+413,8
@@
int blkdev_fsync(struct file *filp, struct dentry *dentry, int datasync)
if (error)
return error;
- error = blkdev_issue_flush(bdev, NULL);
+ error = blkdev_issue_flush(bdev, GFP_KERNEL, NULL,
+ (BLKDEV_IFL_WAIT));
if (error == -EOPNOTSUPP)
error = 0;
return error;