diff --git a/[refs] b/[refs] index a3b3fec6a020..c5290ab4aed9 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c5afc8da5b881633717bfc0510792428aa01fa3f +refs/heads/master: 64f9a83665e4f168ff50ce1db9eb175f954048fa diff --git a/trunk/fs/nfs/proc.c b/trunk/fs/nfs/proc.c index a706b6bcc286..617c7419a08e 100644 --- a/trunk/fs/nfs/proc.c +++ b/trunk/fs/nfs/proc.c @@ -651,7 +651,7 @@ static int nfs_read_done(struct rpc_task *task, struct nfs_read_data *data) /* Emulate the eof flag, which isn't normally needed in NFSv2 * as it is guaranteed to always return the file attributes */ - if (data->args.offset + data->args.count >= data->res.fattr->size) + if (data->args.offset + data->res.count >= data->res.fattr->size) data->res.eof = 1; } return 0;