LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Jan Kara <jack@suse.cz>
To: "Pali Rohár" <pali.rohar@gmail.com>
Cc: linux-kernel@vger.kernel.org, Jan Kara <jack@suse.com>
Subject: Re: [PATCH 1/3] udf: Fix spelling in EXT_NEXT_EXTENT_ALLOCDESCS
Date: Wed, 8 Jan 2020 11:11:18 +0100 [thread overview]
Message-ID: <20200108101118.GB20521@quack2.suse.cz> (raw)
In-Reply-To: <20200107212904.30471-1-pali.rohar@gmail.com>
Thanks! Much easier to review now :) I've queued your patches to my tree.
Honza
On Tue 07-01-20 22:29:02, Pali Rohár wrote:
> Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
> ---
> fs/udf/ecma_167.h | 2 +-
> fs/udf/inode.c | 6 +++---
> fs/udf/truncate.c | 2 +-
> 3 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/fs/udf/ecma_167.h b/fs/udf/ecma_167.h
> index fb7f2c7be..e7b889e01 100644
> --- a/fs/udf/ecma_167.h
> +++ b/fs/udf/ecma_167.h
> @@ -757,7 +757,7 @@ struct partitionIntegrityEntry {
> #define EXT_RECORDED_ALLOCATED 0x00000000
> #define EXT_NOT_RECORDED_ALLOCATED 0x40000000
> #define EXT_NOT_RECORDED_NOT_ALLOCATED 0x80000000
> -#define EXT_NEXT_EXTENT_ALLOCDECS 0xC0000000
> +#define EXT_NEXT_EXTENT_ALLOCDESCS 0xC0000000
>
> /* Long Allocation Descriptor (ECMA 167r3 4/14.14.2) */
>
> diff --git a/fs/udf/inode.c b/fs/udf/inode.c
> index ea80036d7..e875bc566 100644
> --- a/fs/udf/inode.c
> +++ b/fs/udf/inode.c
> @@ -1981,10 +1981,10 @@ int udf_setup_indirect_aext(struct inode *inode, udf_pblk_t block,
>
> __udf_add_aext(inode, &nepos, &cp_loc, cp_len, 1);
> udf_write_aext(inode, epos, &nepos.block,
> - sb->s_blocksize | EXT_NEXT_EXTENT_ALLOCDECS, 0);
> + sb->s_blocksize | EXT_NEXT_EXTENT_ALLOCDESCS, 0);
> } else {
> __udf_add_aext(inode, epos, &nepos.block,
> - sb->s_blocksize | EXT_NEXT_EXTENT_ALLOCDECS, 0);
> + sb->s_blocksize | EXT_NEXT_EXTENT_ALLOCDESCS, 0);
> }
>
> brelse(epos->bh);
> @@ -2143,7 +2143,7 @@ int8_t udf_next_aext(struct inode *inode, struct extent_position *epos,
> unsigned int indirections = 0;
>
> while ((etype = udf_current_aext(inode, epos, eloc, elen, inc)) ==
> - (EXT_NEXT_EXTENT_ALLOCDECS >> 30)) {
> + (EXT_NEXT_EXTENT_ALLOCDESCS >> 30)) {
> udf_pblk_t block;
>
> if (++indirections > UDF_MAX_INDIR_EXTS) {
> diff --git a/fs/udf/truncate.c b/fs/udf/truncate.c
> index 63a47f1e1..532cda996 100644
> --- a/fs/udf/truncate.c
> +++ b/fs/udf/truncate.c
> @@ -241,7 +241,7 @@ int udf_truncate_extents(struct inode *inode)
>
> while ((etype = udf_current_aext(inode, &epos, &eloc,
> &elen, 0)) != -1) {
> - if (etype == (EXT_NEXT_EXTENT_ALLOCDECS >> 30)) {
> + if (etype == (EXT_NEXT_EXTENT_ALLOCDESCS >> 30)) {
> udf_write_aext(inode, &epos, &neloc, nelen, 0);
> if (indirect_ext_len) {
> /* We managed to free all extents in the
> --
> 2.20.1
>
--
Jan Kara <jack@suse.com>
SUSE Labs, CR
prev parent reply other threads:[~2020-01-08 10:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-26 11:19 [PATCH] udf: Update header files to UDF 2.60 Pali Rohár
2020-01-07 13:44 ` Jan Kara
2020-01-07 21:29 ` [PATCH 1/3] udf: Fix spelling in EXT_NEXT_EXTENT_ALLOCDESCS Pali Rohár
2020-01-07 21:29 ` [PATCH 2/3] udf: Move OSTA Identifier Suffix macros from ecma_167.h to osta_udf.h Pali Rohár
2020-01-07 21:29 ` [PATCH 3/3] udf: Update header files to UDF 2.60 Pali Rohár
2020-01-08 10:11 ` Jan Kara [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200108101118.GB20521@quack2.suse.cz \
--to=jack@suse.cz \
--cc=jack@suse.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pali.rohar@gmail.com \
--subject='Re: [PATCH 1/3] udf: Fix spelling in EXT_NEXT_EXTENT_ALLOCDESCS' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).