diff options
Diffstat (limited to 'fs/cifs/file.c')
-rw-r--r-- | fs/cifs/file.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c index 165d67426381..fb49aef1f2ec 100644 --- a/fs/cifs/file.c +++ b/fs/cifs/file.c | |||
@@ -1339,7 +1339,7 @@ int cifs_fsync(struct file *file, struct dentry *dentry, int datasync) | |||
1339 | return rc; | 1339 | return rc; |
1340 | } | 1340 | } |
1341 | 1341 | ||
1342 | /* static int cifs_sync_page(struct page *page) | 1342 | /* static void cifs_sync_page(struct page *page) |
1343 | { | 1343 | { |
1344 | struct address_space *mapping; | 1344 | struct address_space *mapping; |
1345 | struct inode *inode; | 1345 | struct inode *inode; |
@@ -1353,16 +1353,18 @@ int cifs_fsync(struct file *file, struct dentry *dentry, int datasync) | |||
1353 | return 0; | 1353 | return 0; |
1354 | inode = mapping->host; | 1354 | inode = mapping->host; |
1355 | if (!inode) | 1355 | if (!inode) |
1356 | return 0; */ | 1356 | return; */ |
1357 | 1357 | ||
1358 | /* fill in rpages then | 1358 | /* fill in rpages then |
1359 | result = cifs_pagein_inode(inode, index, rpages); */ /* BB finish */ | 1359 | result = cifs_pagein_inode(inode, index, rpages); */ /* BB finish */ |
1360 | 1360 | ||
1361 | /* cFYI(1, ("rpages is %d for sync page of Index %ld ", rpages, index)); | 1361 | /* cFYI(1, ("rpages is %d for sync page of Index %ld ", rpages, index)); |
1362 | 1362 | ||
1363 | #if 0 | ||
1363 | if (rc < 0) | 1364 | if (rc < 0) |
1364 | return rc; | 1365 | return rc; |
1365 | return 0; | 1366 | return 0; |
1367 | #endif | ||
1366 | } */ | 1368 | } */ |
1367 | 1369 | ||
1368 | /* | 1370 | /* |