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�����٥