diff mbox

[V9fs-developer] Include fsync support for 9p

Message ID 20100201115612.GB13458@in.ibm.com (mailing list archive)
State Superseded, archived
Delegated to: Eric Van Hensbergen
Headers show

Commit Message

M. Mohan Kumar Feb. 1, 2010, 11:56 a.m. UTC
None
diff mbox

Patch

diff --git a/fs/9p/vfs_file.c b/fs/9p/vfs_file.c
index 3902bf4..223849c 100644
--- a/fs/9p/vfs_file.c
+++ b/fs/9p/vfs_file.c
@@ -266,6 +266,7 @@  static const struct file_operations v9fs_cached_file_operations = {
 	.release = v9fs_dir_release,
 	.lock = v9fs_file_lock,
 	.mmap = generic_file_readonly_mmap,
+	.fsync = simple_sync_file, 
 };
 
 const struct file_operations v9fs_file_operations = {
@@ -276,4 +277,5 @@  const struct file_operations v9fs_file_operations = {
 	.release = v9fs_dir_release,
 	.lock = v9fs_file_lock,
 	.mmap = generic_file_readonly_mmap,
+	.fsync = simple_sync_file, 
 };