[making] making asynch io printout optional

This commit is contained in:
Olga Kornievskaia 2012-05-16 14:46:10 -04:00
parent 3b8d469b61
commit 896639df69

View file

@ -5798,7 +5798,9 @@ NTSTATUS nfs41_Read(
if (status) goto out; if (status) goto out;
if (async) { if (async) {
#ifdef DEBUG_READ
DbgP("This is asynchronous read, returning control back to the user\n"); DbgP("This is asynchronous read, returning control back to the user\n");
#endif
status = STATUS_PENDING; status = STATUS_PENDING;
goto out; goto out;
} }
@ -5915,7 +5917,9 @@ NTSTATUS nfs41_Write(
if (status) goto out; if (status) goto out;
if (async) { if (async) {
#ifdef DEBUG_WRITE
DbgP("This is asynchronous write, returning control back to the user\n"); DbgP("This is asynchronous write, returning control back to the user\n");
#endif
status = STATUS_PENDING; status = STATUS_PENDING;
goto out; goto out;
} }