Matthew Wilcox
96f8d8e096
brd: return -ENOSPC rather than -ENOMEM on page allocation failure
...
brd is effectively a thinly provisioned device. Thinly provisioned
devices return -ENOSPC when they can't write a new block. -ENOMEM is an
implementation detail that callers shouldn't know.
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Acked-by: Dave Chinner <david@fromorbit.com>
Cc: Dheeraj Reddy <dheeraj.reddy@intel.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-06-04 16:54:02 -07:00
..
2014-06-04 08:57:16 -07:00
2014-06-04 16:53:58 -07:00
2014-06-04 16:54:02 -07:00
2014-06-03 09:01:02 -07:00
2014-06-02 16:35:49 -07:00
2014-06-04 08:57:16 -07:00
2014-06-04 10:02:38 -07:00
2014-06-04 10:02:38 -07:00
2014-06-03 08:06:56 -07:00
2014-06-04 08:57:16 -07:00
2014-06-04 08:57:16 -07:00
2014-06-02 16:35:49 -07:00
2014-06-02 12:15:19 -07:00
2014-06-04 09:08:25 -07:00
2014-06-02 08:46:03 -07:00
2014-06-04 16:54:00 -07:00
2014-06-04 13:09:43 +02:00
2014-06-03 11:09:43 -07:00
2014-06-03 08:34:00 -07:00
2014-06-02 16:15:12 -07:00
2014-06-04 16:53:57 -07:00
2014-06-04 10:02:38 -07:00
2014-06-04 08:52:36 -07:00
2014-06-03 12:57:53 -07:00
2014-06-03 12:57:53 -07:00
2014-06-04 09:08:25 -07:00
2014-06-03 15:48:23 -07:00
2014-06-02 09:22:24 -07:00
2014-06-02 09:29:34 -07:00
2014-06-04 08:57:16 -07:00
2014-06-04 10:02:38 -07:00
2014-06-04 08:50:34 -07:00
2014-06-03 11:20:32 -07:00
2014-06-04 08:57:16 -07:00
2014-06-03 23:13:00 +02:00
2014-06-04 08:57:16 -07:00
2014-06-03 11:44:48 -07:00
2014-06-02 16:35:49 -07:00
2014-06-04 08:47:12 -07:00
2014-06-04 08:50:34 -07:00
2014-06-03 15:03:27 +02:00
2014-06-02 17:08:43 +01:00
2014-06-04 08:50:34 -07:00
2014-06-03 12:57:53 -07:00
2014-06-04 10:02:38 -07:00
2014-06-03 12:57:53 -07:00
2014-06-04 09:07:08 -07:00
2014-06-03 12:57:53 -07:00
2014-06-03 12:57:53 -07:00
2014-06-03 08:06:56 -07:00