Re: [PATCH v3 1/2] NFSv4.1: Clean ups and bugfixes for the pNFS read/writeback/commit code

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

 



On Sat, 2012-03-17 at 11:15 -0400, Trond Myklebust wrote:
> On Sat, 2012-03-17 at 10:55 -0400, Fred Isaman wrote:
> > On Mar 16, 2012, at 5:22 PM, Trond Myklebust wrote:
> > > 
> > > +static int
> > > +filelayout_scan_ds_commit_list(struct nfs4_fl_commit_bucket *bucket, int max)
> > > +{
> > > +	struct list_head *src = &bucket->written;
> > > +	struct list_head *dst = &bucket->committing;
> > > +	struct nfs_page *req, *tmp;
> > > +	int ret = 0;
> > > +
> > 
> > need something here like:
> > 
> > if (max == 0)
> >    return 0;
> 
> I'll put that in the caller instead.
> 

OK. Done and pushed out to nfs-for-next...

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@xxxxxxxxxx
www.netapp.com

��.n��������+%������w��{.n�����{��w���jg��������ݢj����G�������j:+v���w�m������w�������h�����٥



[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