diff options
Diffstat (limited to 'fs/ceph/messenger.c')
-rw-r--r-- | fs/ceph/messenger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/messenger.c b/fs/ceph/messenger.c index cd4fadb6491..af3b143fbf0 100644 --- a/fs/ceph/messenger.c +++ b/fs/ceph/messenger.c | |||
@@ -1947,7 +1947,7 @@ struct ceph_messenger *ceph_messenger_create(struct ceph_entity_addr *myaddr) | |||
1947 | 1947 | ||
1948 | /* the zero page is needed if a request is "canceled" while the message | 1948 | /* the zero page is needed if a request is "canceled" while the message |
1949 | * is being written over the socket */ | 1949 | * is being written over the socket */ |
1950 | msgr->zero_page = alloc_page(GFP_KERNEL | __GFP_ZERO); | 1950 | msgr->zero_page = __page_cache_alloc(GFP_KERNEL | __GFP_ZERO); |
1951 | if (!msgr->zero_page) { | 1951 | if (!msgr->zero_page) { |
1952 | kfree(msgr); | 1952 | kfree(msgr); |
1953 | return ERR_PTR(-ENOMEM); | 1953 | return ERR_PTR(-ENOMEM); |