f2fs.h (df8081801dc8e6292390fe33198174b6a60d4356) | f2fs.h (b7446e7cf15f0926866c8e5de90ab278998bf8c8) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * fs/f2fs/f2fs.h 4 * 5 * Copyright (c) 2012 Samsung Electronics Co., Ltd. 6 * http://www.samsung.com/ 7 */ 8#ifndef _LINUX_F2FS_H --- 2663 unchanged lines hidden (view full) --- 2672 return NULL; 2673 } 2674 } 2675 2676 if (!for_write) 2677 return grab_cache_page(mapping, index); 2678 2679 flags = memalloc_nofs_save(); | 1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * fs/f2fs/f2fs.h 4 * 5 * Copyright (c) 2012 Samsung Electronics Co., Ltd. 6 * http://www.samsung.com/ 7 */ 8#ifndef _LINUX_F2FS_H --- 2663 unchanged lines hidden (view full) --- 2672 return NULL; 2673 } 2674 } 2675 2676 if (!for_write) 2677 return grab_cache_page(mapping, index); 2678 2679 flags = memalloc_nofs_save(); |
2680 page = grab_cache_page_write_begin(mapping, index, 0); | 2680 page = grab_cache_page_write_begin(mapping, index); |
2681 memalloc_nofs_restore(flags); 2682 2683 return page; 2684} 2685 2686static inline struct page *f2fs_pagecache_get_page( 2687 struct address_space *mapping, pgoff_t index, 2688 int fgp_flags, gfp_t gfp_mask) --- 1859 unchanged lines hidden --- | 2681 memalloc_nofs_restore(flags); 2682 2683 return page; 2684} 2685 2686static inline struct page *f2fs_pagecache_get_page( 2687 struct address_space *mapping, pgoff_t index, 2688 int fgp_flags, gfp_t gfp_mask) --- 1859 unchanged lines hidden --- |