Re: [PATCH] nfsd: Use lowercase names of quota functions

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

 



On Mon 09-02-09 22:30:51, Jan Kara wrote:
> Use lowercase names of quota functions instead of old uppercase ones.
> 
> CC: bfields@xxxxxxxxxxxx
> CC: neilb@xxxxxxx
> Signed-off-by: Jan Kara <jack@xxxxxxx>
  And I should add that this patch is queued in my quota tree and I plan to
send it to Linus in the next merge window (i.e. for 2.6.30-rc1).

									Honza
> ---
>  fs/nfsd/vfs.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c
> index 6e50aaa..ad38fc9 100644
> --- a/fs/nfsd/vfs.c
> +++ b/fs/nfsd/vfs.c
> @@ -356,7 +356,7 @@ nfsd_setattr(struct svc_rqst *rqstp, struct svc_fh *fhp, struct iattr *iap,
>  			put_write_access(inode);
>  			goto out_nfserr;
>  		}
> -		DQUOT_INIT(inode);
> +		vfs_dq_init(inode);
>  	}
>  
>  	/* sanitize the mode change */
> @@ -723,7 +723,7 @@ nfsd_open(struct svc_rqst *rqstp, struct svc_fh *fhp, int type,
>  		else
>  			flags = O_WRONLY|O_LARGEFILE;
>  
> -		DQUOT_INIT(inode);
> +		vfs_dq_init(inode);
>  	}
>  	*filp = dentry_open(dget(dentry), mntget(fhp->fh_export->ex_path.mnt),
>  			    flags, cred);
> -- 
> 1.6.0.2
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux