diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 8f0706210a478cc8866b3dd280b2860e75089757..638bcb5e49f68322fc737e5d3e61bd023dc93af2 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -4263,7 +4263,7 @@ static int btrfs_releasepage(struct page *page, gfp_t gfp_flags) { if (PageWriteback(page) || PageDirty(page)) return 0; - return __btrfs_releasepage(page, gfp_flags); + return __btrfs_releasepage(page, gfp_flags & GFP_NOFS); } static void btrfs_invalidatepage(struct page *page, unsigned long offset)