OSDN Git Service

xfs: Remove obsoleted m_inode_shrink from xfs_mount structure
authorJeff Liu <jeff.liu@oracle.com>
Mon, 11 Mar 2013 06:31:02 +0000 (14:31 +0800)
committerBen Myers <bpm@sgi.com>
Thu, 14 Mar 2013 20:55:32 +0000 (15:55 -0500)
Looks the old m_inode_shrink is obsoleted as we perform inodes reclaim per AG via
m_reclaim_workqueue, this patch remove it from the xfs_mount structure if so.

Signed-off-by: Jie Liu <jeff.liu@oracle.com>
Cc: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_mount.h

index bc90706..687c171 100644 (file)
@@ -207,7 +207,6 @@ typedef struct xfs_mount {
                                                     trimming */
        __int64_t               m_update_flags; /* sb flags we need to update
                                                   on the next remount,rw */
-       struct shrinker         m_inode_shrink; /* inode reclaim shrinker */
        int64_t                 m_low_space[XFS_LOWSP_MAX];
                                                /* low free space thresholds */