summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_buf.h
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2018-08-10 13:56:25 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2018-08-12 08:37:31 -0700
commitfa6c668d807b1e9ac041101dfcb59bd8e279cfe5 (patch)
tree79b3f94ae9b2317cc6297105388928d749769b25 /fs/xfs/xfs_buf.h
parent10259de1d8690a8c6dd98d564ff2690b5511c8f7 (diff)
downloadlinux-stable-fa6c668d807b1e9ac041101dfcb59bd8e279cfe5.tar.gz
linux-stable-fa6c668d807b1e9ac041101dfcb59bd8e279cfe5.tar.bz2
linux-stable-fa6c668d807b1e9ac041101dfcb59bd8e279cfe5.zip
xfs: remove b_last_holder & associated macros
The old lock tracking infrastructure in xfs using the b_last_holder field seems to only be useful if you can get into the system with a debugger; it seems that the existing tracepoints would be the way to go these days, and this old infrastructure can be removed. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_buf.h')
-rw-r--r--fs/xfs/xfs_buf.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/xfs/xfs_buf.h b/fs/xfs/xfs_buf.h
index f04613181ca1..4e3171acd0f8 100644
--- a/fs/xfs/xfs_buf.h
+++ b/fs/xfs/xfs_buf.h
@@ -198,10 +198,6 @@ typedef struct xfs_buf {
int b_last_error;
const struct xfs_buf_ops *b_ops;
-
-#ifdef XFS_BUF_LOCK_TRACKING
- int b_last_holder;
-#endif
} xfs_buf_t;
/* Finding and Reading Buffers */