NFS: nfs_inode_return_delegation() should always flush dirty data
[deliverable/linux.git] / fs / nfs / delegation.h
index cd6a7a8dadae9054e5bd5557c0226bfd8accc116..72709c4193fa28ac3afeba63f65e2f46e954eb23 100644 (file)
@@ -66,6 +66,7 @@ static inline int nfs_have_delegation(struct inode *inode, fmode_t flags)
 
 static inline int nfs_inode_return_delegation(struct inode *inode)
 {
+       nfs_wb_all(inode);
        return 0;
 }
 #endif
This page took 0.02802 seconds and 5 git commands to generate.