Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755327AbbBPIQ3 (ORCPT ); Mon, 16 Feb 2015 03:16:29 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:13471 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752203AbbBPIQ2 (ORCPT ); Mon, 16 Feb 2015 03:16:28 -0500 X-AuditID: cbfee61b-f79d76d0000024d6-43-54e1a75b173c From: Chao Yu To: Jaegeuk Kim , Changman Lee Cc: linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: [PATCH 1/4] f2fs: remove unused inline_dentry_addr Date: Mon, 16 Feb 2015 16:15:44 +0800 Message-id: <006401d049c0$dd65f720$9831e560$@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-index: AdBJwH1sE74W9nD3SWq3EQpCP+jidA== Content-language: zh-cn X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrELMWRmVeSWpSXmKPExsVy+t9jQd3o5Q9DDA4fELG4tq+RyeLJ+lnM FpcWuVtc3jWHzYHFY9OqTjaP3Qs+M3n0bVnF6PF5k1wASxSXTUpqTmZZapG+XQJXxpo5z9kK trFVdL+Yx97AuJK1i5GTQ0LARGL/i1nsELaYxIV769m6GLk4hASmM0osXtPJDuH8YJR4cGER M0gVm4CKxPKO/0wgtoiAl8Sk/SdYQGxmAQ+Jxo7vYFOFBawlFt3cywhiswioSrxqvAHWyytg KfH50hEWCFtQ4sfke1C9WhLrdx5ngrDlJTavecsMcZGCxI6zr4HmcADt0pNYPisDokRcYuOR WywTGAVmIZk0C8mkWUgmzULSsoCRZRWjaGpBckFxUnqukV5xYm5xaV66XnJ+7iZGcEg/k97B uKrB4hCjAAejEg/vB5WHIUKsiWXFlbmHGCU4mJVEeK+2AoV4UxIrq1KL8uOLSnNSiw8xSnOw KInzKtm3hQgJpCeWpGanphakFsFkmTg4pRoY9a6snTHhedXK1FCu+9f/VOg5vvng4rxphdeh sw+jJn4tjlDTvPTurcv3N0fO506s2ft9y6uU+Qn/ku7MFcxTtP7m4pw4+15d+oam/Vpf3zQw bN5/4eSMjFzvPsWLlg9Z/lRp7vDOf6R2jvEp32pxtZKeoCKmM5EWmn+XJnjuU2QUP9s3j1/x nBJLcUaioRZzUXEiAJaLkwplAgAA Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1038 Lines: 34 inline_dentry_addr is introduced with inline dentry feature without being used, now we do not need to keep it for any reason, so remove it. Signed-off-by: Chao Yu --- fs/f2fs/f2fs.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 7fa3313..a978b65 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -1290,12 +1290,6 @@ static inline int f2fs_has_inline_dentry(struct inode *inode) return is_inode_flag_set(F2FS_I(inode), FI_INLINE_DENTRY); } -static inline void *inline_dentry_addr(struct page *page) -{ - struct f2fs_inode *ri = F2FS_INODE(page); - return (void *)&(ri->i_addr[1]); -} - static inline void f2fs_dentry_kunmap(struct inode *dir, struct page *page) { if (!f2fs_has_inline_dentry(dir)) -- 2.2.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/