coverity appeasement - redundant check
[minix.git] / servers / vfs / write.c
blob80975b15020a7a86de329a568793372c220bfe56
1 /* This file is the counterpart of "read.c". It contains the code for writing
2 * insofar as this is not contained in read_write().
4 * The entry points into this file are
5 * do_write: call read_write to perform the WRITE system call
6 */
8 #include "fs.h"
9 #include "file.h"
12 /*===========================================================================*
13 * do_write *
14 *===========================================================================*/
15 int do_write()
17 /* Perform the write(fd, buffer, nbytes) system call. */
18 return(do_read_write(WRITING));