projects
/
platform
/
upstream
/
nbd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24abcbe
)
properly check for HAVE_FALLOC_PH in both occurrences
author
T.M. Abraham
<tabraham@novell.com>
Sat, 7 Jan 2012 02:58:55 +0000
(21:58 -0500)
committer
T.M. Abraham
<tabraham@novell.com>
Sat, 7 Jan 2012 02:58:55 +0000
(21:58 -0500)
nbd-server.c
patch
|
blob
|
history
diff --git
a/nbd-server.c
b/nbd-server.c
index 0ecf0e88c1e860f4b470a5db96f255de649b8161..2cd066de367bf89267468143dd4fe8f4a9749761 100644
(file)
--- a/
nbd-server.c
+++ b/
nbd-server.c
@@
-1461,7
+1461,7
@@
int expflush(CLIENT *client) {
* file to resparsify stuff that isn't needed anymore (see NBD_CMD_TRIM)
*/
int exptrim(struct nbd_request* req, CLIENT* client) {
-#if
def
HAVE_FALLOC_PH
+#if HAVE_FALLOC_PH
FILE_INFO prev = g_array_index(client->export, FILE_INFO, 0);
FILE_INFO cur = prev;
int i = 1;