On Wed, Apr 25, 2012 at 03:28:08PM -0400, Jeff Layton wrote: > They're equivalent, but SEEK_SET is more informative... Applied, thanks.--b. > > Cc: Eric Sandeen <sandeen@xxxxxxxxxx> > Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx> > --- > fs/nfsd/vfs.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c > index 5686661..c8bd9c3 100644 > --- a/fs/nfsd/vfs.c > +++ b/fs/nfsd/vfs.c > @@ -2039,7 +2039,7 @@ nfsd_readdir(struct svc_rqst *rqstp, struct svc_fh *fhp, loff_t *offsetp, > if (err) > goto out; > > - offset = vfs_llseek(file, offset, 0); > + offset = vfs_llseek(file, offset, SEEK_SET); > if (offset < 0) { > err = nfserrno((int)offset); > goto out_close; > -- > 1.7.7.6 > > -- > 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 -- 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