Re: [PATCH 1/2] pass a struct path to vfs_statfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Christoph,

On Sat, 26 Jun 2010 11:34:57 +0200 Christoph Hellwig <hch@xxxxxx> wrote:
>
> --- linux-2.6.orig/arch/alpha/kernel/osf_sys.c	2010-06-26 09:23:14.078254403 +0200
> +++ linux-2.6/arch/alpha/kernel/osf_sys.c	2010-06-26 09:36:12.704256149 +0200
> @@ -234,13 +234,9 @@ linux_to_osf_statfs(struct kstatfs *linu
>  }
>  
>  static int
> -do_osf_statfs(struct dentry * dentry, struct osf_statfs __user *buffer,
> +do_osf_statfs(struct path *path, struct osf_statfs __user *buffer,
>  	      unsigned long bufsiz)
>  {
> -	struct kstatfs linux_stat;
> -	int error = vfs_statfs(dentry, &linux_stat);
> -	if (!error)
> -		error = linux_to_osf_statfs(&linux_stat, buffer, bufsiz);
>  	return error;	
>  }

That can't be right ...

-- 
Cheers,
Stephen Rothwell                    sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgpleuOpPMru2.pgp
Description: PGP signature


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux