From: Richard Weinberger <richard@nod.at>
To: Hyunchul Lee <cheol.lee@lge.com>
Cc: Artem Bityutskiy <dedekind1@gmail.com>,
adrian.hunter@intel.com, linux-kernel@vger.kernel.org,
linux-fsdevel@vger.kernel.org, linux-mtd@lists.infradead.org,
kernel-team@lge.com
Subject: Re: [PATCH 1/2] ubifs: Fix inode data budget in ubifs_mknod
Date: Wed, 17 May 2017 08:58:23 +0200 [thread overview]
Message-ID: <12b604d9-22e9-f0e5-288a-e478d2ba4e4f@nod.at> (raw)
In-Reply-To: <1494979038-19361-1-git-send-email-cheol.lee@lge.com>
Hyunchul,
Am 17.05.2017 um 01:57 schrieb Hyunchul Lee:
> Assign inode data budget to budget request correctly.
>
> Signed-off-by: Hyunchul Lee <cheol.lee@lge.com>
> ---
> fs/ubifs/dir.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/ubifs/dir.c b/fs/ubifs/dir.c
> index b777bdd..df67236 100644
> --- a/fs/ubifs/dir.c
> +++ b/fs/ubifs/dir.c
> @@ -1050,7 +1050,6 @@ static int ubifs_mknod(struct inode *dir, struct dentry *dentry,
> int sz_change;
> int err, devlen = 0;
> struct ubifs_budget_req req = { .new_ino = 1, .new_dent = 1,
> - .new_ino_d = ALIGN(devlen, 8),
> .dirtied_ino = 1 };
> struct fscrypt_name nm;
>
> @@ -1068,6 +1067,7 @@ static int ubifs_mknod(struct inode *dir, struct dentry *dentry,
> devlen = ubifs_encode_dev(dev, rdev);
> }
>
> + req.new_ino_d = ALIGN(devlen, 8);
Good find!
Thanks,
//richard
prev parent reply other threads:[~2017-05-17 6:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-16 23:57 [PATCH 1/2] ubifs: Fix inode data budget in ubifs_mknod Hyunchul Lee
2017-05-17 6:58 ` Richard Weinberger [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=12b604d9-22e9-f0e5-288a-e478d2ba4e4f@nod.at \
--to=richard@nod.at \
--cc=adrian.hunter@intel.com \
--cc=cheol.lee@lge.com \
--cc=dedekind1@gmail.com \
--cc=kernel-team@lge.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).