mapping_set_error: add unlikely()
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 24 Jul 2008 04:27:19 +0000 (21:27 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:15 +0000 (10:47 -0700)
commit2185e69f680ae8c8496b6fc15e20c889d5b39b67
tree5835610f8c89786ef18860e02937d1dd9b0977f6
parent9023cb7e8564d95a1893f8cb6895a293be9a71fe
mapping_set_error: add unlikely()

This is called on a per-page basis and in the vast majority of cases
`error' is zero.

Cc: Guillaume Chazarain <guichaz@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/pagemap.h