Merge tag 'for-linus-v3.6-rc1' of git://oss.sgi.com/xfs/xfs
[linux-block.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