Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/fs/puffs Add PUFFS_HAVE_FALLOCATE in puffs_msgif.h so th...



details:   https://anonhg.NetBSD.org/src/rev/c266990da52d
branches:  trunk
changeset: 333382:c266990da52d
user:      manu <manu%NetBSD.org@localhost>
date:      Fri Oct 31 14:20:54 2014 +0000

description:
Add PUFFS_HAVE_FALLOCATE in puffs_msgif.h so that filesystem can decide
at build time wether fallocate is usable

diffstat:

 sys/fs/puffs/puffs_msgif.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r e91902d9392b -r c266990da52d sys/fs/puffs/puffs_msgif.h
--- a/sys/fs/puffs/puffs_msgif.h        Fri Oct 31 14:01:16 2014 +0000
+++ b/sys/fs/puffs/puffs_msgif.h        Fri Oct 31 14:20:54 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: puffs_msgif.h,v 1.82 2014/10/31 13:52:41 manu Exp $    */
+/*     $NetBSD: puffs_msgif.h,v 1.83 2014/10/31 14:20:54 manu Exp $    */
 
 /*
  * Copyright (c) 2005, 2006, 2007  Antti Kantee.  All Rights Reserved.
@@ -667,6 +667,7 @@
        struct puffs_kcred      pvnr_cred;                      /* OUT  */
 };
 
+#define PUFFS_HAVE_FALLOCATE 1
 struct puffs_vnmsg_fallocate {
        struct puffs_req        pvn_pr;
        off_t                   pvnr_off;                       /* OUT    */



Home | Main Index | Thread Index | Old Index