Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Coda: mount hangs because of missed REQ_WRITE rename

Coda's REQ_* defines were renamed to avoid clashes with the block layer
(commit 4aeefdc69f7b: "coda: fixup clash with block layer REQ_*
defines").

However one was missed and response messages are no longer matched with
requests and waiting threads are no longer woken up. This patch fixes
this.

Signed-off-by: Jan Harkes <jaharkes@cs.cmu.edu>
[ Also fixed up whitespace while at it -Linus ]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Jan Harkes and committed by
Linus Torvalds
112d421d 151b6a5f

+2 -2
+2 -2
fs/coda/psdev.c
··· 184 184 } 185 185 186 186 /* adjust outsize. is this useful ?? */ 187 - req->uc_outSize = nbytes; 188 - req->uc_flags |= REQ_WRITE; 187 + req->uc_outSize = nbytes; 188 + req->uc_flags |= CODA_REQ_WRITE; 189 189 count = nbytes; 190 190 191 191 /* Convert filedescriptor into a file handle */