From: Al Viro Date: Fri, 21 Oct 2005 07:22:39 +0000 (-0400) Subject: [PATCH] gfp_t: reiserfs mapping_set_gfp_mask() use X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c4cdd038318863e912e9b992489f61497f98b442;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [PATCH] gfp_t: reiserfs mapping_set_gfp_mask() use Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/fs/reiserfs/xattr.c b/fs/reiserfs/xattr.c index 87ac9dc8b381..72e120798677 100644 --- 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)) {