/* SPDX-License-Identifier: GPL-2.0 */ /* * fs/hmdfs/file_remote.h * * Copyright (c) 2020-2021 Huawei Device Co., Ltd. */ #ifndef HMDFS_FILE_REMOTE_H #define HMDFS_FILE_REMOTE_H #include #include #include "hmdfs.h" #include "comm/connection.h" void hmdfs_remote_del_wr_opened_inode(struct hmdfs_peer *conn, struct hmdfs_inode_info *info); void hmdfs_remote_add_wr_opened_inode_nolock(struct hmdfs_peer *conn, struct hmdfs_inode_info *info); ssize_t hmdfs_file_write_iter_remote_nocheck(struct kiocb *iocb, struct iov_iter *iter); int analysis_dentry_file_from_con(struct hmdfs_sb_info *sbi, struct file *file, struct file *handler, struct dir_context *ctx); #endif