X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mm%2Ftiny-shmem.c;h=ae532f50194319ce83b813a88b6a25aa5a4e85e5;hb=ab763c7112ce0e2559c73f921617c81dc7287ca6;hp=a63ee939178b173e78dfc8983209384f6a89b88a;hpb=8a03feab32dceb78b9b1edf220e833d36d416b00;p=linux-2.6 diff --git a/mm/tiny-shmem.c b/mm/tiny-shmem.c index a63ee93917..ae532f5019 100644 --- a/mm/tiny-shmem.c +++ b/mm/tiny-shmem.c @@ -39,12 +39,11 @@ static int __init init_tmpfs(void) } module_init(init_tmpfs) -/* +/** * shmem_file_setup - get an unlinked file living in tmpfs - * * @name: name for dentry (to be seen in /proc//maps * @size: size to be set for the file - * + * @flags: vm_flags */ struct file *shmem_file_setup(char *name, loff_t size, unsigned long flags) { @@ -97,9 +96,8 @@ put_memory: return ERR_PTR(error); } -/* +/** * shmem_zero_setup - setup a shared anonymous mapping - * * @vma: the vma to be mmapped is prepared by do_mmap_pgoff */ int shmem_zero_setup(struct vm_area_struct *vma)