All of lore.kernel.org
 help / color / mirror / Atom feed
* [merged] hugetlb-expose-hugetlbfs_inode_info-in-header.patch removed from -mm tree
@ 2018-02-01 19:33 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2018-02-01 19:33 UTC (permalink / raw)
  To: aarcange, dh.herrmann, hughd, marcandre.lureau, mhocko,
	mike.kravetz, mm-commits


The patch titled
     Subject: hugetlb: expose hugetlbfs_inode_info in header
has been removed from the -mm tree.  Its filename was
     hugetlb-expose-hugetlbfs_inode_info-in-header.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Marc-André Lureau <marcandre.lureau@redhat.com>
Subject: hugetlb: expose hugetlbfs_inode_info in header

hugetlbfs inode information will need to be accessed by code in mm/shmem.c
for file sealing operations.  Move inode information definition from .c
file to header for needed access.

Link: http://lkml.kernel.org/r/20171107122800.25517-4-marcandre.lureau@redhat.com
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 fs/hugetlbfs/inode.c    |   10 ----------
 include/linux/hugetlb.h |   10 ++++++++++
 2 files changed, 10 insertions(+), 10 deletions(-)

diff -puN fs/hugetlbfs/inode.c~hugetlb-expose-hugetlbfs_inode_info-in-header fs/hugetlbfs/inode.c
--- a/fs/hugetlbfs/inode.c~hugetlb-expose-hugetlbfs_inode_info-in-header
+++ a/fs/hugetlbfs/inode.c
@@ -55,16 +55,6 @@ struct hugetlbfs_config {
 	umode_t			mode;
 };
 
-struct hugetlbfs_inode_info {
-	struct shared_policy policy;
-	struct inode vfs_inode;
-};
-
-static inline struct hugetlbfs_inode_info *HUGETLBFS_I(struct inode *inode)
-{
-	return container_of(inode, struct hugetlbfs_inode_info, vfs_inode);
-}
-
 int sysctl_hugetlb_shm_group;
 
 enum {
diff -puN include/linux/hugetlb.h~hugetlb-expose-hugetlbfs_inode_info-in-header include/linux/hugetlb.h
--- a/include/linux/hugetlb.h~hugetlb-expose-hugetlbfs_inode_info-in-header
+++ a/include/linux/hugetlb.h
@@ -270,6 +270,16 @@ static inline struct hugetlbfs_sb_info *
 	return sb->s_fs_info;
 }
 
+struct hugetlbfs_inode_info {
+	struct shared_policy policy;
+	struct inode vfs_inode;
+};
+
+static inline struct hugetlbfs_inode_info *HUGETLBFS_I(struct inode *inode)
+{
+	return container_of(inode, struct hugetlbfs_inode_info, vfs_inode);
+}
+
 extern const struct file_operations hugetlbfs_file_operations;
 extern const struct vm_operations_struct hugetlb_vm_ops;
 struct file *hugetlb_file_setup(const char *name, size_t size, vm_flags_t acct,
_

Patches currently in -mm which might be from marcandre.lureau@redhat.com are

mm-page_owner-align-with-pageblock_nr_pages.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-02-01 19:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-01 19:33 [merged] hugetlb-expose-hugetlbfs_inode_info-in-header.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.