Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176310
b: refs/heads/master
c: f096e59
h: refs/heads/master
v: v3
  • Loading branch information
Huang Shijie authored and Linus Torvalds committed Dec 15, 2009
1 parent 40e14bd commit 8d5a7d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c9d0bf241451a3ab7d02e1652c22b80cd7d93e8f
refs/heads/master: f096e59e844ba3c5d5a7b54b3deafd2aeeebf921
5 changes: 1 addition & 4 deletions trunk/include/linux/mm.h
Original file line number Diff line number Diff line change
Expand Up @@ -643,12 +643,9 @@ static inline struct address_space *page_mapping(struct page *page)
struct address_space *mapping = page->mapping;

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

0 comments on commit 8d5a7d6

Please sign in to comment.