mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 00:04:15 +08:00
184b1dc1a6
Timestamp updates on the directory during a link operation were cached. This is inconsistent with other metadata operations such as rename, as well as being less efficient. Signed-off-by: Justin Husted <sigstop@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
38 lines
1.1 KiB
C
38 lines
1.1 KiB
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _BCACHEFS_FS_COMMON_H
|
|
#define _BCACHEFS_FS_COMMON_H
|
|
|
|
struct posix_acl;
|
|
|
|
int bch2_create_trans(struct btree_trans *, u64,
|
|
struct bch_inode_unpacked *,
|
|
struct bch_inode_unpacked *,
|
|
const struct qstr *,
|
|
uid_t, gid_t, umode_t, dev_t,
|
|
struct posix_acl *,
|
|
struct posix_acl *);
|
|
|
|
int bch2_link_trans(struct btree_trans *, u64,
|
|
u64, struct bch_inode_unpacked *,
|
|
struct bch_inode_unpacked *,
|
|
const struct qstr *);
|
|
|
|
int bch2_unlink_trans(struct btree_trans *,
|
|
u64, struct bch_inode_unpacked *,
|
|
struct bch_inode_unpacked *,
|
|
const struct qstr *);
|
|
|
|
int bch2_rename_trans(struct btree_trans *,
|
|
u64, struct bch_inode_unpacked *,
|
|
u64, struct bch_inode_unpacked *,
|
|
struct bch_inode_unpacked *,
|
|
struct bch_inode_unpacked *,
|
|
const struct qstr *,
|
|
const struct qstr *,
|
|
enum bch_rename_mode);
|
|
|
|
bool bch2_reinherit_attrs(struct bch_inode_unpacked *,
|
|
struct bch_inode_unpacked *);
|
|
|
|
#endif /* _BCACHEFS_FS_COMMON_H */
|