diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-28 18:13:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-28 18:13:05 -0400 |
commit | a0e3390787ef523699ae1f3f3ea0ca953e630be2 (patch) | |
tree | 0769becdd64b31489be18fdda583e0f38eca146f /fs/nfs/nfs4proc.c | |
parent | 2d3b07c07b39c4b7d9b6641052a02d996cd5d87c (diff) | |
parent | 12364a4f05295cb1e4a161d36b486c248c11c485 (diff) |
Merge branch 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6
* 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6:
nfs4: The difference of 2 pointers is ptrdiff_t
nfs: testing the wrong variable
nfs: handle lock context allocation failures in nfs_create_request
Fixed Regression in NFS Direct I/O path
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r-- | fs/nfs/nfs4proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 32c8758c99fd..0f24cdf2cb13 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -429,7 +429,7 @@ static int nfs41_sequence_done(struct rpc_task *task, struct nfs4_sequence_res * | |||
429 | * returned NFS4ERR_DELAY as per Section 2.10.6.2 | 429 | * returned NFS4ERR_DELAY as per Section 2.10.6.2 |
430 | * of RFC5661. | 430 | * of RFC5661. |
431 | */ | 431 | */ |
432 | dprintk("%s: slot=%ld seq=%d: Operation in progress\n", | 432 | dprintk("%s: slot=%td seq=%d: Operation in progress\n", |
433 | __func__, | 433 | __func__, |
434 | res->sr_slot - res->sr_session->fc_slot_table.slots, | 434 | res->sr_slot - res->sr_session->fc_slot_table.slots, |
435 | res->sr_slot->seq_nr); | 435 | res->sr_slot->seq_nr); |
@@ -573,7 +573,7 @@ int nfs4_setup_sequence(const struct nfs_server *server, | |||
573 | goto out; | 573 | goto out; |
574 | } | 574 | } |
575 | 575 | ||
576 | dprintk("--> %s clp %p session %p sr_slot %ld\n", | 576 | dprintk("--> %s clp %p session %p sr_slot %td\n", |
577 | __func__, session->clp, session, res->sr_slot ? | 577 | __func__, session->clp, session, res->sr_slot ? |
578 | res->sr_slot - session->fc_slot_table.slots : -1); | 578 | res->sr_slot - session->fc_slot_table.slots : -1); |
579 | 579 | ||