Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57937
b: refs/heads/master
c: b9bae34
h: refs/heads/master
i:
  57935: 1f7bc3a
v: v3
  • Loading branch information
Hugh Dickins authored and Linus Torvalds committed Jun 21, 2007
1 parent 56937ce commit ed9113a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f1518a088bde6aea49e7c472ed6ab96178fcba3e
refs/heads/master: b9bae3402572dc50a1e084c5b1ae5117918ef0f0
4 changes: 4 additions & 0 deletions trunk/include/linux/mm.h
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,10 @@ static inline struct address_space *page_mapping(struct page *page)

if (unlikely(PageSwapCache(page)))
mapping = &swapper_space;
#ifdef CONFIG_SLUB
else if (unlikely(PageSlab(page)))
mapping = NULL;
#endif
else if (unlikely((unsigned long)mapping & PAGE_MAPPING_ANON))
mapping = NULL;
return mapping;
Expand Down

0 comments on commit ed9113a

Please sign in to comment.