[2/4] btrfs: drop ancient page flag mappings
diff mbox

Message ID 6ae681b586730a7feca63bcea15aa2b976b97897.1500919093.git.dsterba@suse.com
State New
Headers show

Commit Message

David Sterba July 24, 2017, 5:59 p.m. UTC
There's no PageFsMisc. Added by patch 4881ee5a2e995 in 2008, the flag is
not present in current kernels.

Signed-off-by: David Sterba <dsterba@suse.com>
 fs/btrfs/ctree.h | 7 -------
 1 file changed, 7 deletions(-)

diff mbox

diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index c651fb0034ec..128b7435e071 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -3135,13 +3135,6 @@  noinline int can_nocow_extent(struct inode *inode, u64 offset, u64 *len,
 			      u64 *orig_start, u64 *orig_block_len,
 			      u64 *ram_bytes);
-/* RHEL and EL kernels have a patch that renames PG_checked to FsMisc */
-#if defined(ClearPageFsMisc) && !defined(ClearPageChecked)
-#define ClearPageChecked ClearPageFsMisc
-#define SetPageChecked SetPageFsMisc
-#define PageChecked PageFsMisc
 /* This forces readahead on a given range of bytes in an inode */
 static inline void btrfs_force_ra(struct address_space *mapping,
 				  struct file_ra_state *ra, struct file *file,