Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d3f9db00 authored by Yannick Guerrini's avatar Yannick Guerrini Committed by Artem Bityutskiy
Browse files

UBIFS: Fix trivial typos in comments



Change 'comress' to 'compress'
Change 'inteval' to 'interval'
Change 'disabe' to 'disable'
Change 'nenver' to 'never'

Signed-off-by: default avatarYannick Guerrini <yguerrini@tomshardware.fr>
Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
parent 2c84599c
Loading
Loading
Loading
Loading
+7 −7
Original line number Original line Diff line number Diff line
@@ -158,7 +158,7 @@
#define WORST_COMPR_FACTOR 2
#define WORST_COMPR_FACTOR 2


/*
/*
 * How much memory is needed for a buffer where we comress a data node.
 * How much memory is needed for a buffer where we compress a data node.
 */
 */
#define COMPRESSED_DATA_NODE_BUF_SZ \
#define COMPRESSED_DATA_NODE_BUF_SZ \
	(UBIFS_DATA_NODE_SZ + UBIFS_BLOCK_SIZE * WORST_COMPR_FACTOR)
	(UBIFS_DATA_NODE_SZ + UBIFS_BLOCK_SIZE * WORST_COMPR_FACTOR)
@@ -664,7 +664,7 @@ typedef int (*ubifs_lpt_scan_callback)(struct ubifs_info *c,
 * @lock: serializes @buf, @lnum, @offs, @avail, @used, @next_ino and @inodes
 * @lock: serializes @buf, @lnum, @offs, @avail, @used, @next_ino and @inodes
 *        fields
 *        fields
 * @softlimit: soft write-buffer timeout interval
 * @softlimit: soft write-buffer timeout interval
 * @delta: hard and soft timeouts delta (the timer expire inteval is @softlimit
 * @delta: hard and soft timeouts delta (the timer expire interval is @softlimit
 *         and @softlimit + @delta)
 *         and @softlimit + @delta)
 * @timer: write-buffer timer
 * @timer: write-buffer timer
 * @no_timer: non-zero if this write-buffer does not have a timer
 * @no_timer: non-zero if this write-buffer does not have a timer
@@ -930,9 +930,9 @@ struct ubifs_orphan {
/**
/**
 * struct ubifs_mount_opts - UBIFS-specific mount options information.
 * struct ubifs_mount_opts - UBIFS-specific mount options information.
 * @unmount_mode: selected unmount mode (%0 default, %1 normal, %2 fast)
 * @unmount_mode: selected unmount mode (%0 default, %1 normal, %2 fast)
 * @bulk_read: enable/disable bulk-reads (%0 default, %1 disabe, %2 enable)
 * @bulk_read: enable/disable bulk-reads (%0 default, %1 disable, %2 enable)
 * @chk_data_crc: enable/disable CRC data checking when reading data nodes
 * @chk_data_crc: enable/disable CRC data checking when reading data nodes
 *                (%0 default, %1 disabe, %2 enable)
 *                (%0 default, %1 disable, %2 enable)
 * @override_compr: override default compressor (%0 - do not override and use
 * @override_compr: override default compressor (%0 - do not override and use
 *                  superblock compressor, %1 - override and use compressor
 *                  superblock compressor, %1 - override and use compressor
 *                  specified in @compr_type)
 *                  specified in @compr_type)
@@ -962,9 +962,9 @@ struct ubifs_mount_opts {
 *           optimization)
 *           optimization)
 * @nospace_rp: the same as @nospace, but additionally means that even reserved
 * @nospace_rp: the same as @nospace, but additionally means that even reserved
 *              pool is full
 *              pool is full
 * @page_budget: budget for a page (constant, nenver changed after mount)
 * @page_budget: budget for a page (constant, never changed after mount)
 * @inode_budget: budget for an inode (constant, nenver changed after mount)
 * @inode_budget: budget for an inode (constant, never changed after mount)
 * @dent_budget: budget for a directory entry (constant, nenver changed after
 * @dent_budget: budget for a directory entry (constant, never changed after
 *               mount)
 *               mount)
 */
 */
struct ubifs_budg_info {
struct ubifs_budg_info {