Re: Access Control Lists for tmpfs

From: Andrew Morton
Date: Tue Sep 05 2006 - 15:04:19 EST


On Sat, 02 Sep 2006 00:14:23 +0200
Andreas Gruenbacher <agruen@xxxxxxx> wrote:

> --- linux-2.6.18-rc5.orig/mm/shmem.c
> +++ linux-2.6.18-rc5/mm/shmem.c
> @@ -26,6 +26,8 @@
> #include <linux/module.h>
> #include <linux/init.h>
> #include <linux/fs.h>
> +#include <linux/xattr.h>
> +#include <linux/generic_acl.h>
> #include <linux/mm.h>
> #include <linux/mman.h>
> #include <linux/file.h>
> @@ -176,6 +178,7 @@ static const struct address_space_operat
> static struct file_operations shmem_file_operations;
> static struct inode_operations shmem_inode_operations;
> static struct inode_operations shmem_dir_inode_operations;
> +static struct inode_operations shmem_special_inode_operations;
> static struct vm_operations_struct shmem_vm_ops;
>
> static struct backing_dev_info shmem_backing_dev_info __read_mostly = {
> @@ -630,13 +633,15 @@ static void shmem_truncate(struct inode
> shmem_truncate_range(inode, inode->i_size, (loff_t)-1);
> }
>
> +extern struct generic_acl_operations shmem_acl_ops;

Can we move this declaration into a header file please?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/