Index: uspace/lib/ext2/libext2_filesystem.c
===================================================================
--- uspace/lib/ext2/libext2_filesystem.c	(revision 8bd5dad5ecd2864a0b786bb755ee062c3c5aafe0)
+++ uspace/lib/ext2/libext2_filesystem.c	(revision 1d6f507f0b213da5fe9346663a8a45869e166812)
@@ -46,4 +46,6 @@
  * @param fs			Pointer to ext2_filesystem_t to initialize
  * @param devmap_handle	Device handle of the block device
+ * 
+ * @return 		EOK on success or negative error code on failure
  */
 int ext2_filesystem_init(ext2_filesystem_t *fs, devmap_handle_t devmap_handle)
@@ -85,4 +87,22 @@
 
 /**
+ * Check filesystem for sanity
+ * 
+ * @param fs			Pointer to ext2_filesystem_t to check
+ * @return 		EOK on success or negative error code on failure
+ */
+int ext2_filesystem_check_sanity(ext2_filesystem_t *fs)
+{
+	int rc;
+	
+	rc = ext2_superblock_check_sanity(fs->superblock);
+	if (rc != EOK) {
+		return rc;
+	}
+	
+	return EOK;
+}
+
+/**
  * Finalize an instance of filesystem
  * 
