mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-01 16:14:13 +08:00
hfsplus: remove the unused hfsplus_kmap/hfsplus_kunmap helpers
Signed-off-by: Christoph Hellwig <hch@tuxera.com>
This commit is contained in:
parent
90e616905a
commit
32e39e19cc
@ -398,14 +398,6 @@ static inline struct hfsplus_inode_info *HFSPLUS_I(struct inode *inode)
|
||||
return list_entry(inode, struct hfsplus_inode_info, vfs_inode);
|
||||
}
|
||||
|
||||
#if 1
|
||||
#define hfsplus_kmap(p) ({ struct page *__p = (p); kmap(__p); })
|
||||
#define hfsplus_kunmap(p) ({ struct page *__p = (p); kunmap(__p); __p; })
|
||||
#else
|
||||
#define hfsplus_kmap(p) kmap(p)
|
||||
#define hfsplus_kunmap(p) kunmap(p)
|
||||
#endif
|
||||
|
||||
#define sb_bread512(sb, sec, data) ({ \
|
||||
struct buffer_head *__bh; \
|
||||
sector_t __block; \
|
||||
|
Loading…
Reference in New Issue
Block a user