]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/nfs/inode.c
NFSv4: Truncating file opens should also sync O_DIRECT writes
[karo-tx-linux.git] / fs / nfs / inode.c
index 60f907666697ee309d1d41d7701c9b3485da481a..f1fc0e4c1c023ab6a656d8d83f8256b338520974 100644 (file)
@@ -133,11 +133,12 @@ void nfs_evict_inode(struct inode *inode)
        nfs_clear_inode(inode);
 }
 
-static int nfs_sync_inode(struct inode *inode)
+int nfs_sync_inode(struct inode *inode)
 {
        nfs_inode_dio_wait(inode);
        return nfs_wb_all(inode);
 }
+EXPORT_SYMBOL_GPL(nfs_sync_inode);
 
 /**
  * nfs_sync_mapping - helper to flush all mmapped dirty data to disk