From: Linus Torvalds <torvalds@linux-foundation.org>
To: Jan Kara <jack@suse.cz>
Cc: linux-kernel@vger.kernel.org, tibor.tajti@gmail.com
Subject: Re: [GIT PULL] UDF tree fixes
Date: Mon, 1 Dec 2008 08:33:36 -0800 (PST) [thread overview]
Message-ID: <alpine.LFD.2.00.0812010822060.3256@nehalem.linux-foundation.org> (raw)
In-Reply-To: <20081201120101.GC17303@duck.suse.cz>
On Mon, 1 Dec 2008, Jan Kara wrote:
>
> Yes, I would like to do it as well. But as I write in the changelog,
> currently there's no good callback for that (I've mailed about it at
> linux-fsdevel and noone had a better idea either). So for now I've just
> used this kludge to silence the Oops.
No, I meant just a simple "just call clear_inode() from
udf_clear_inode()". But on a slightly closer look I notice that won't
work, since it will just cause recursion (well, you could just clear the
s_op field to avoid it, but that would be uglier than your fix).
I wonder if we should perhaps just move the invalidate_inode_buffers()
call later in clear_inode(). That's a scary change, though.
I just think your patch is pretty ugly. I'm sure it works, but I also
suspect it indicates some kind of more fundamental problem. I also wonder
why udf needs it but nobody else does (others do preallocation too)
Linus
next prev parent reply other threads:[~2008-12-01 16:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-27 17:23 Jan Kara
2008-11-30 20:58 ` Linus Torvalds
2008-12-01 12:01 ` Jan Kara
2008-12-01 16:33 ` Linus Torvalds [this message]
2008-12-01 17:06 ` Jan Kara
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=alpine.LFD.2.00.0812010822060.3256@nehalem.linux-foundation.org \
--to=torvalds@linux-foundation.org \
--cc=jack@suse.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=tibor.tajti@gmail.com \
/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
all inboxes | Powered by JetHome®