Skip to content

Commit 112d421

Browse files
jaharkestorvalds
authored andcommitted
Coda: mount hangs because of missed REQ_WRITE rename
Coda's REQ_* defines were renamed to avoid clashes with the block layer (commit 4aeefdc: "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>
1 parent 151b6a5 commit 112d421

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎fs/coda/psdev.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ static ssize_t coda_psdev_write(struct file *file, const char __user *buf,
184184
}
185185

186186
/* 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;
189189
count = nbytes;
190190

191191
/* Convert filedescriptor into a file handle */

0 commit comments

Comments
 (0)