diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-02-28 18:15:42 +0000 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-02-28 18:15:42 +0000 |
commit | 6065dcf33180741bec0292f603bfdde864eb347b (patch) | |
tree | 3a24ff1025208ad26c8965dfae4a6823155b4889 /tools/libxc/xc_private.h | |
parent | 4092caa643fa1103fbbdc96948f500c4a5c1f4cd (diff) | |
download | xen-6065dcf33180741bec0292f603bfdde864eb347b.tar.gz xen-6065dcf33180741bec0292f603bfdde864eb347b.tar.bz2 xen-6065dcf33180741bec0292f603bfdde864eb347b.zip |
libxc: Quieten the discard_file_cache() function. Preserve errno
across it. No longer make calls to the function dependent on 'non-live
save/restore': it's not a good test of whether the fd is a socket.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/libxc/xc_private.h')
-rw-r--r-- | tools/libxc/xc_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxc/xc_private.h b/tools/libxc/xc_private.h index 13935d361b..7fa3258db1 100644 --- a/tools/libxc/xc_private.h +++ b/tools/libxc/xc_private.h @@ -166,6 +166,6 @@ void bitmap_64_to_byte(uint8_t *bp, const uint64_t *lp, int nbits); void bitmap_byte_to_64(uint64_t *lp, const uint8_t *bp, int nbits); /* Optionally flush file to disk and discard page cache */ -int discard_file_cache(int fd, int flush); +void discard_file_cache(int fd, int flush); #endif /* __XC_PRIVATE_H__ */ |