Merge branch 'work.const-qstr' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull qstr constification updates from Al Viro: "Fairly self-contained bunch - surprising lot of places passes struct qstr * as an argument when const struct qstr * would suffice; it complicates analysis for no good reason. I'd prefer to feed that separately from the assorted fixes (those are in #for-linus and with somewhat trickier topology)" * 'work.const-qstr' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: qstr: constify instances in adfs qstr: constify instances in lustre qstr: constify instances in f2fs qstr: constify instances in ext2 qstr: constify instances in vfat qstr: constify instances in procfs qstr: constify instances in fuse qstr constify instances in fs/dcache.c qstr: constify instances in nfs qstr: constify instances in ocfs2 qstr: constify instances in autofs4 qstr: constify instances in hfs qstr: constify instances in hfsplus qstr: constify instances in logfs qstr: constify dentry_init_security
Esse commit está contido em:
@@ -445,17 +445,17 @@ int hfsplus_cat_case_cmp_key(const hfsplus_btree_key *k1,
|
||||
int hfsplus_cat_bin_cmp_key(const hfsplus_btree_key *k1,
|
||||
const hfsplus_btree_key *k2);
|
||||
int hfsplus_cat_build_key(struct super_block *sb, hfsplus_btree_key *key,
|
||||
u32 parent, struct qstr *str);
|
||||
u32 parent, const struct qstr *str);
|
||||
void hfsplus_cat_build_key_with_cnid(struct super_block *sb,
|
||||
hfsplus_btree_key *key, u32 parent);
|
||||
void hfsplus_cat_set_perms(struct inode *inode, struct hfsplus_perm *perms);
|
||||
int hfsplus_find_cat(struct super_block *sb, u32 cnid,
|
||||
struct hfs_find_data *fd);
|
||||
int hfsplus_create_cat(u32 cnid, struct inode *dir, struct qstr *str,
|
||||
int hfsplus_create_cat(u32 cnid, struct inode *dir, const struct qstr *str,
|
||||
struct inode *inode);
|
||||
int hfsplus_delete_cat(u32 cnid, struct inode *dir, struct qstr *str);
|
||||
int hfsplus_rename_cat(u32 cnid, struct inode *src_dir, struct qstr *src_name,
|
||||
struct inode *dst_dir, struct qstr *dst_name);
|
||||
int hfsplus_delete_cat(u32 cnid, struct inode *dir, const struct qstr *str);
|
||||
int hfsplus_rename_cat(u32 cnid, struct inode *src_dir, const struct qstr *src_name,
|
||||
struct inode *dst_dir, const struct qstr *dst_name);
|
||||
|
||||
/* dir.c */
|
||||
extern const struct inode_operations hfsplus_dir_inode_operations;
|
||||
|
Referência em uma nova issue
Block a user