Re: [PATCH v2] Btrfs: add debugfs file to test transaction aborts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





+bool debugfs_abort_transaction(struct btrfs_fs_info *fs_info)
+{
+	if (!btrfs_debugfs_label_trans_abort[0])
+		return false;
+	return strcmp(fs_info->super_copy->label,
+		      btrfs_debugfs_label_trans_abort) == 0;
+}
+

 label is not mandatory to be present.

 did I missing something ?

Thanks, Anand
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux