diff options
Diffstat (limited to 'fs/nfs/write.c')
-rw-r--r-- | fs/nfs/write.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c index bd4dff9dbd69..a4c9df67a3ae 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c | |||
@@ -1469,6 +1469,7 @@ int nfs_wb_all(struct inode *inode) | |||
1469 | if (ret >= 0) | 1469 | if (ret >= 0) |
1470 | return 0; | 1470 | return 0; |
1471 | out: | 1471 | out: |
1472 | __mark_inode_dirty(mapping->host, I_DIRTY_PAGES); | ||
1472 | return ret; | 1473 | return ret; |
1473 | } | 1474 | } |
1474 | 1475 | ||
@@ -1493,6 +1494,7 @@ int nfs_sync_mapping_range(struct address_space *mapping, loff_t range_start, lo | |||
1493 | if (ret >= 0) | 1494 | if (ret >= 0) |
1494 | return 0; | 1495 | return 0; |
1495 | out: | 1496 | out: |
1497 | __mark_inode_dirty(mapping->host, I_DIRTY_PAGES); | ||
1496 | return ret; | 1498 | return ret; |
1497 | } | 1499 | } |
1498 | 1500 | ||
@@ -1519,6 +1521,7 @@ int nfs_wb_page_priority(struct inode *inode, struct page *page, int how) | |||
1519 | if (ret >= 0) | 1521 | if (ret >= 0) |
1520 | return 0; | 1522 | return 0; |
1521 | out: | 1523 | out: |
1524 | __mark_inode_dirty(inode, I_DIRTY_PAGES); | ||
1522 | return ret; | 1525 | return ret; |
1523 | } | 1526 | } |
1524 | 1527 | ||