Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

udf: Fix spelling in EXT_NEXT_EXTENT_ALLOCDESCS

Change EXT_NEXT_EXTENT_ALLOCDECS to proper spelling
EXT_NEXT_EXTENT_ALLOCDESCS.

Link: https://lore.kernel.org/r/20200107212904.30471-1-pali.rohar@gmail.com
Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>

authored by

Pali Rohár and committed by
Jan Kara
800552ce d9e98668

+5 -5
+1 -1
fs/udf/ecma_167.h
··· 757 757 #define EXT_RECORDED_ALLOCATED 0x00000000 758 758 #define EXT_NOT_RECORDED_ALLOCATED 0x40000000 759 759 #define EXT_NOT_RECORDED_NOT_ALLOCATED 0x80000000 760 - #define EXT_NEXT_EXTENT_ALLOCDECS 0xC0000000 760 + #define EXT_NEXT_EXTENT_ALLOCDESCS 0xC0000000 761 761 762 762 /* Long Allocation Descriptor (ECMA 167r3 4/14.14.2) */ 763 763
+3 -3
fs/udf/inode.c
··· 1981 1981 1982 1982 __udf_add_aext(inode, &nepos, &cp_loc, cp_len, 1); 1983 1983 udf_write_aext(inode, epos, &nepos.block, 1984 - sb->s_blocksize | EXT_NEXT_EXTENT_ALLOCDECS, 0); 1984 + sb->s_blocksize | EXT_NEXT_EXTENT_ALLOCDESCS, 0); 1985 1985 } else { 1986 1986 __udf_add_aext(inode, epos, &nepos.block, 1987 - sb->s_blocksize | EXT_NEXT_EXTENT_ALLOCDECS, 0); 1987 + sb->s_blocksize | EXT_NEXT_EXTENT_ALLOCDESCS, 0); 1988 1988 } 1989 1989 1990 1990 brelse(epos->bh); ··· 2143 2143 unsigned int indirections = 0; 2144 2144 2145 2145 while ((etype = udf_current_aext(inode, epos, eloc, elen, inc)) == 2146 - (EXT_NEXT_EXTENT_ALLOCDECS >> 30)) { 2146 + (EXT_NEXT_EXTENT_ALLOCDESCS >> 30)) { 2147 2147 udf_pblk_t block; 2148 2148 2149 2149 if (++indirections > UDF_MAX_INDIR_EXTS) {
+1 -1
fs/udf/truncate.c
··· 241 241 242 242 while ((etype = udf_current_aext(inode, &epos, &eloc, 243 243 &elen, 0)) != -1) { 244 - if (etype == (EXT_NEXT_EXTENT_ALLOCDECS >> 30)) { 244 + if (etype == (EXT_NEXT_EXTENT_ALLOCDESCS >> 30)) { 245 245 udf_write_aext(inode, &epos, &neloc, nelen, 0); 246 246 if (indirect_ext_len) { 247 247 /* We managed to free all extents in the