diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-09-11 17:17:31 -0400 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-09-12 10:42:08 -0400 |
commit | aa9e10409eae9dd61a336c6307d0a0b538063970 (patch) | |
tree | 2283f6cb17199b0945bf08dcac7a88040a65bc76 /fs | |
parent | 74ffa796e127906883cacedcf3871494192c9e42 (diff) |
xfs: = vs == typo in ASSERT()
There is a '=' vs '==' typo so the ASSERT()s are always true.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/xfs/xfs_bmap_btree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_bmap_btree.c b/fs/xfs/xfs_bmap_btree.c index 531b0206cce6..bb8de8e399c4 100644 --- a/fs/xfs/xfs_bmap_btree.c +++ b/fs/xfs/xfs_bmap_btree.c | |||
@@ -957,9 +957,9 @@ xfs_bmbt_change_owner( | |||
957 | ASSERT(tp || buffer_list); | 957 | ASSERT(tp || buffer_list); |
958 | ASSERT(!(tp && buffer_list)); | 958 | ASSERT(!(tp && buffer_list)); |
959 | if (whichfork == XFS_DATA_FORK) | 959 | if (whichfork == XFS_DATA_FORK) |
960 | ASSERT(ip->i_d.di_format = XFS_DINODE_FMT_BTREE); | 960 | ASSERT(ip->i_d.di_format == XFS_DINODE_FMT_BTREE); |
961 | else | 961 | else |
962 | ASSERT(ip->i_d.di_aformat = XFS_DINODE_FMT_BTREE); | 962 | ASSERT(ip->i_d.di_aformat == XFS_DINODE_FMT_BTREE); |
963 | 963 | ||
964 | cur = xfs_bmbt_init_cursor(ip->i_mount, tp, ip, whichfork); | 964 | cur = xfs_bmbt_init_cursor(ip->i_mount, tp, ip, whichfork); |
965 | if (!cur) | 965 | if (!cur) |