projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4e3ca1
)
[PATCH] gfp_t: reiserfs mapping_set_gfp_mask() use
author
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 21 Oct 2005 07:22:39 +0000
(
03:22
-0400)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Fri, 28 Oct 2005 15:16:51 +0000
(08:16 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/reiserfs/xattr.c
patch
|
blob
|
history
diff --git
a/fs/reiserfs/xattr.c
b/fs/reiserfs/xattr.c
index 87ac9dc8b381e8325ec2e26a1411c2e6d9449cc9..72e120798677a0ff20852c4a528bc8c4c5c9aa12 100644
(file)
--- a/
fs/reiserfs/xattr.c
+++ b/
fs/reiserfs/xattr.c
@@
-453,7
+453,7
@@
static struct page *reiserfs_get_page(struct inode *dir, unsigned long n)
struct page *page;
/* We can deadlock if we try to free dentries,
and an unlink/rmdir has just occured - GFP_NOFS avoids this */
- mapping
->flags = (mapping->flags & ~__GFP_BITS_MASK) | GFP_NOFS
;
+ mapping
_set_gfp_mask(mapping, GFP_NOFS)
;
page = read_cache_page(mapping, n,
(filler_t *) mapping->a_ops->readpage, NULL);
if (!IS_ERR(page)) {