diff options
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 8f0706210a47..638bcb5e49f6 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) | |||
4263 | { | 4263 | { |
4264 | if (PageWriteback(page) || PageDirty(page)) | 4264 | if (PageWriteback(page) || PageDirty(page)) |
4265 | return 0; | 4265 | return 0; |
4266 | return __btrfs_releasepage(page, gfp_flags); | 4266 | return __btrfs_releasepage(page, gfp_flags & GFP_NOFS); |
4267 | } | 4267 | } |
4268 | 4268 | ||
4269 | static void btrfs_invalidatepage(struct page *page, unsigned long offset) | 4269 | static void btrfs_invalidatepage(struct page *page, unsigned long offset) |