* [PATCH 0/9 linux-next] move dir_pages() to pagemap.h
@ 2015-05-24 15:19 Fabian Frederick
2015-05-24 15:19 ` [PATCH 5/9 linux-next] ext2: remove dir_pages() declaration Fabian Frederick
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Fabian Frederick @ 2015-05-24 15:19 UTC (permalink / raw)
To: linux-kernel
Cc: Alexander Viro, Fabian Frederick, osd-dev, linux-ext4,
linux-nilfs
This small patchset declares dir_pages() in pagemap.h and
removes declarations in each filesystems.
Fabian Frederick (9):
pagemap.h: declare dir_pages()
nilfs2: remove dir_pages() declaration
ufs: use dir_pages instead of ufs_dir_pages()
fs/qnx6: remove dir_pages() declaration
ext2: remove dir_pages() declaration
minix: remove dir_pages() declaration
exofs: remove dir_pages() declaration
sysv: remove dir_pages() declaration
fs/freevxfs/vxfs_lookup.c: remove dir_pages() declaration
fs/exofs/dir.c | 6 ------
fs/ext2/dir.c | 5 -----
fs/freevxfs/vxfs_lookup.c | 7 -------
fs/minix/dir.c | 5 -----
fs/nilfs2/dir.c | 5 -----
fs/qnx6/dir.c | 5 -----
fs/sysv/dir.c | 5 -----
fs/ufs/dir.c | 13 ++++---------
include/linux/pagemap.h | 6 ++++++
9 files changed, 10 insertions(+), 47 deletions(-)
--
2.4.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 5/9 linux-next] ext2: remove dir_pages() declaration
2015-05-24 15:19 [PATCH 0/9 linux-next] move dir_pages() to pagemap.h Fabian Frederick
@ 2015-05-24 15:19 ` Fabian Frederick
[not found] ` <1432480791-31396-3-git-send-email-fabf@skynet.be>
2015-06-05 14:43 ` [PATCH 0/9 linux-next] move dir_pages() to pagemap.h Al Viro
2 siblings, 0 replies; 4+ messages in thread
From: Fabian Frederick @ 2015-05-24 15:19 UTC (permalink / raw)
To: linux-kernel; +Cc: Alexander Viro, Fabian Frederick, Jan Kara, linux-ext4
dir_pages() is now declared in pagemap.h
Signed-off-by: Fabian Frederick <fabf@skynet.be>
---
fs/ext2/dir.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/fs/ext2/dir.c b/fs/ext2/dir.c
index 796b491..0c6638b 100644
--- a/fs/ext2/dir.c
+++ b/fs/ext2/dir.c
@@ -70,11 +70,6 @@ static inline void ext2_put_page(struct page *page)
page_cache_release(page);
}
-static inline unsigned long dir_pages(struct inode *inode)
-{
- return (inode->i_size+PAGE_CACHE_SIZE-1)>>PAGE_CACHE_SHIFT;
-}
-
/*
* Return the offset into page `page_nr' of the last valid
* byte in that page, plus one.
--
2.4.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
[parent not found: <1432480791-31396-3-git-send-email-fabf@skynet.be>]
* Re: [PATCH 0/9 linux-next] move dir_pages() to pagemap.h
2015-05-24 15:19 [PATCH 0/9 linux-next] move dir_pages() to pagemap.h Fabian Frederick
2015-05-24 15:19 ` [PATCH 5/9 linux-next] ext2: remove dir_pages() declaration Fabian Frederick
[not found] ` <1432480791-31396-3-git-send-email-fabf@skynet.be>
@ 2015-06-05 14:43 ` Al Viro
2 siblings, 0 replies; 4+ messages in thread
From: Al Viro @ 2015-06-05 14:43 UTC (permalink / raw)
To: Fabian Frederick; +Cc: linux-kernel, osd-dev, linux-ext4, linux-nilfs
On Sun, May 24, 2015 at 05:19:40PM +0200, Fabian Frederick wrote:
> This small patchset declares dir_pages() in pagemap.h and
> removes declarations in each filesystems.
Applied, with #2 and #4--9 folded into #1 - otherwise you get build breakage.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-06-05 14:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-24 15:19 [PATCH 0/9 linux-next] move dir_pages() to pagemap.h Fabian Frederick
2015-05-24 15:19 ` [PATCH 5/9 linux-next] ext2: remove dir_pages() declaration Fabian Frederick
[not found] ` <1432480791-31396-3-git-send-email-fabf@skynet.be>
[not found] ` <1432480791-31396-3-git-send-email-fabf-AgBVmzD5pcezQB+pC5nmwQ@public.gmane.org>
2015-05-25 1:06 ` [PATCH 2/9 linux-next] nilfs2: " Ryusuke Konishi
2015-06-05 14:43 ` [PATCH 0/9 linux-next] move dir_pages() to pagemap.h Al Viro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).