summaryrefslogtreecommitdiffstats
path: root/fs/hfs/inode.c
diff options
context:
space:
mode:
authorAl Viro2016-07-20 22:22:29 +0200
committerAl Viro2016-07-21 05:30:06 +0200
commit71e939634de7ed6aad2978b55d131ec6f1f9aaa6 (patch)
tree7e84d4bba19ed003774e84a4ff68fe3bb412151b /fs/hfs/inode.c
parentqstr: constify instances in hfsplus (diff)
downloadkernel-qcow2-linux-71e939634de7ed6aad2978b55d131ec6f1f9aaa6.tar.gz
kernel-qcow2-linux-71e939634de7ed6aad2978b55d131ec6f1f9aaa6.tar.xz
kernel-qcow2-linux-71e939634de7ed6aad2978b55d131ec6f1f9aaa6.zip
qstr: constify instances in hfs
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/hfs/inode.c')
-rw-r--r--fs/hfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hfs/inode.c b/fs/hfs/inode.c
index 8eed66af5b82..6d6affd3ba5b 100644
--- a/fs/hfs/inode.c
+++ b/fs/hfs/inode.c
@@ -177,7 +177,7 @@ const struct address_space_operations hfs_aops = {
/*
* hfs_new_inode
*/
-struct inode *hfs_new_inode(struct inode *dir, struct qstr *name, umode_t mode)
+struct inode *hfs_new_inode(struct inode *dir, const struct qstr *name, umode_t mode)
{
struct super_block *sb = dir->i_sb;
struct inode *inode = new_inode(sb);