btrfs: pass btrfs_inode to btrfs_inode_lock
[linux-block.git] / fs / btrfs / tree-log.c
index bd9a5eda9def27c890d04124020155ee345fdae5..b6e99ef99679488978e41a75bc899266743209e2 100644 (file)
 #include "fs.h"
 #include "accessors.h"
 #include "extent-tree.h"
+#include "root-tree.h"
+#include "dir-item.h"
+#include "file-item.h"
+#include "file.h"
+#include "orphan.h"
 
 #define MAX_CONFLICT_INODES 10
 
@@ -7380,7 +7385,7 @@ void btrfs_record_snapshot_destroy(struct btrfs_trans_handle *trans,
        mutex_unlock(&dir->log_mutex);
 }
 
-/**
+/*
  * Update the log after adding a new name for an inode.
  *
  * @trans:              Transaction handle.