diff --git a/fs/nfs/fscache.h b/fs/nfs/fscache.h
index 277b02782897c03b84213a14d85171b5e022c983..4ecb76652eba6059402c0d9e7320e4cdc1603b82 100644
--- a/fs/nfs/fscache.h
+++ b/fs/nfs/fscache.h
@@ -222,6 +222,7 @@ static inline void nfs_readpage_to_fscache(struct inode *inode,
 
 
 static inline void nfs_fscache_invalidate(struct inode *inode) {}
+static inline void nfs_fscache_wait_on_invalidate(struct inode *inode) {}
 
 static inline const char *nfs_server_fscache_state(struct nfs_server *server)
 {