]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/xfs/xfs_itable.c
xfs: remove xfs_iput
[karo-tx-linux.git] / fs / xfs / xfs_itable.c
index 200dc6fc8cc53e07502dcac2d1b884ffaa60a81a..7e3626e5925c4ada9ed16e4fa103bbefd0ef1734 100644 (file)
@@ -34,6 +34,7 @@
 #include "xfs_itable.h"
 #include "xfs_error.h"
 #include "xfs_btree.h"
+#include "xfs_trace.h"
 
 STATIC int
 xfs_internal_inum(
@@ -139,7 +140,8 @@ xfs_bulkstat_one_int(
                buf->bs_blocks = dic->di_nblocks + ip->i_delayed_blks;
                break;
        }
-       xfs_iput(ip, XFS_ILOCK_SHARED);
+       xfs_iunlock(ip, XFS_ILOCK_SHARED);
+       IRELE(ip);
 
        error = formatter(buffer, ubsize, ubused, buf);