Commit c77b0542 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Nathan Scott

[XFS] Fix compilation with ACLs enabled

SGI Modid: 2.5.x-xfs:slinx:132214a
parent b6af148b
......@@ -52,17 +52,17 @@ validate_fields(
ip->i_blocks = va.va_nblocks;
}
#ifdef CONFIG_XFS_POSIX_ACL
/*
* Determine whether a process has a valid fs_struct (kernel daemons
* like knfsd don't have an fs_struct).
*
* XXX(hch): nfsd is broken, better fix it instead.
*/
STATIC int inline
has_fs_struct(struct task_struct *task)
{
return (task->fs != init_task.fs);
}
#endif
STATIC int
linvfs_mknod(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment