aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/buffer_head.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/buffer_head.h')
-rw-r--r--include/linux/buffer_head.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/buffer_head.h b/include/linux/buffer_head.h
index 2bf6a9136a94..503c8a6b3079 100644
--- a/include/linux/buffer_head.h
+++ b/include/linux/buffer_head.h
@@ -230,6 +230,8 @@ static inline int block_page_mkwrite_return(int err)
230 return VM_FAULT_NOPAGE; 230 return VM_FAULT_NOPAGE;
231 if (err == -ENOMEM) 231 if (err == -ENOMEM)
232 return VM_FAULT_OOM; 232 return VM_FAULT_OOM;
233 if (err == -EAGAIN)
234 return VM_FAULT_RETRY;
233 /* -ENOSPC, -EDQUOT, -EIO ... */ 235 /* -ENOSPC, -EDQUOT, -EIO ... */
234 return VM_FAULT_SIGBUS; 236 return VM_FAULT_SIGBUS;
235} 237}