2014-04-17 16:04:38

by Fabian Frédérick

[permalink] [raw]
Subject: [PATCH V2] fs/f2fs/node.c: add static to recover_inline_xattr

recover_inline_xattr is only used in node.c

Cc: Jaegeuk Kim <[email protected]>
Cc: Andrew Morton <[email protected]>
Signed-off-by: Fabian Frederick <[email protected]>
---
fs/f2fs/node.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c
index a161e95..3ce4beb 100644
--- a/fs/f2fs/node.c
+++ b/fs/f2fs/node.c
@@ -1534,7 +1534,7 @@ void recover_node_page(struct f2fs_sb_info *sbi, struct page *page,
clear_node_page_dirty(page);
}

-void recover_inline_xattr(struct inode *inode, struct page *page)
+static void recover_inline_xattr(struct inode *inode, struct page *page)
{
struct f2fs_sb_info *sbi = F2FS_SB(inode->i_sb);
void *src_addr, *dst_addr;
--
1.8.4.5


2014-04-18 02:03:14

by Jaegeuk Kim

[permalink] [raw]
Subject: Re: [PATCH V2] fs/f2fs/node.c: add static to recover_inline_xattr

Hi,

This was already resolved by Jingoo Han.
Thanks,

2014-04-17 (목), 18:01 +0200, Fabian Frederick:
> recover_inline_xattr is only used in node.c
>
> Cc: Jaegeuk Kim <[email protected]>
> Cc: Andrew Morton <[email protected]>
> Signed-off-by: Fabian Frederick <[email protected]>
> ---
> fs/f2fs/node.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c
> index a161e95..3ce4beb 100644
> --- a/fs/f2fs/node.c
> +++ b/fs/f2fs/node.c
> @@ -1534,7 +1534,7 @@ void recover_node_page(struct f2fs_sb_info *sbi, struct page *page,
> clear_node_page_dirty(page);
> }
>
> -void recover_inline_xattr(struct inode *inode, struct page *page)
> +static void recover_inline_xattr(struct inode *inode, struct page *page)
> {
> struct f2fs_sb_info *sbi = F2FS_SB(inode->i_sb);
> void *src_addr, *dst_addr;

--
Jaegeuk Kim
Samsung