aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmd/venti/srv/part.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cmd/venti/srv/part.c b/src/cmd/venti/srv/part.c
index 2be6a19f..59dd5492 100644
--- a/src/cmd/venti/srv/part.c
+++ b/src/cmd/venti/srv/part.c
@@ -123,9 +123,6 @@ initpart(char *name, int mode)
}
fprint(2, "warning: %s opened for reading only\n", name);
}
-#ifdef __linux__ /* sorry again! still linus's fault! */
- posix_fadvise(part->fd, 0, 0, POSIX_FADV_RANDOM); /* disable readahead */
-#endif
part->offset = lo;
dir = dirfstat(part->fd);
if(dir == nil){