diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_iops.c')
| -rw-r--r-- | fs/xfs/linux-2.6/xfs_iops.c | 11 | 
1 files changed, 6 insertions, 5 deletions
diff --git a/fs/xfs/linux-2.6/xfs_iops.c b/fs/xfs/linux-2.6/xfs_iops.c index bd5727852fd6..dd21784525a8 100644 --- a/fs/xfs/linux-2.6/xfs_iops.c +++ b/fs/xfs/linux-2.6/xfs_iops.c @@ -70,7 +70,7 @@ xfs_synchronize_times(  /*   * If the linux inode is valid, mark it dirty. - * Used when commiting a dirty inode into a transaction so that + * Used when committing a dirty inode into a transaction so that   * the inode will get written back by the linux code   */  void @@ -102,7 +102,8 @@ xfs_mark_inode_dirty(  STATIC int  xfs_init_security(  	struct inode	*inode, -	struct inode	*dir) +	struct inode	*dir, +	const struct qstr *qstr)  {  	struct xfs_inode *ip = XFS_I(inode);  	size_t		length; @@ -110,7 +111,7 @@ xfs_init_security(  	unsigned char	*name;  	int		error; -	error = security_inode_init_security(inode, dir, (char **)&name, +	error = security_inode_init_security(inode, dir, qstr, (char **)&name,  					     &value, &length);  	if (error) {  		if (error == -EOPNOTSUPP) @@ -194,7 +195,7 @@ xfs_vn_mknod(  	inode = VFS_I(ip); -	error = xfs_init_security(inode, dir); +	error = xfs_init_security(inode, dir, &dentry->d_name);  	if (unlikely(error))  		goto out_cleanup_inode; @@ -367,7 +368,7 @@ xfs_vn_symlink(  	inode = VFS_I(cip); -	error = xfs_init_security(inode, dir); +	error = xfs_init_security(inode, dir, &dentry->d_name);  	if (unlikely(error))  		goto out_cleanup_inode;  | 
