All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Timo Schlüßler" <timo@schluessler.org>
To: unlisted-recipients:; (no To-header on input)
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH 1/2] HFSPlus: clear dirty flags on remount read-only
Date: Thu, 3 Dec 2015 19:38:52 +0100	[thread overview]
Message-ID: <56608C3C.6010803@schluessler.org> (raw)
In-Reply-To: <1448837441.4582.6.camel@ubuntu-slavad-14.04>

Hello Vyacheslav,

thank you for your quick reply.

On 29.11.2015 23:50, Vyacheslav Dubeyko wrote:
> Hi Timo,
>
>
> If you set HFSPLUS_VOL_UNMNT and clear HFSPLUS_VOL_INCNSTNT bits on
> operation of remount in READ-ONLY state then you should do opposite
> operation on remount in READ-WRITE state. But, as far as I can judge,
> you've missed this change. Such modification should be in the same
> patch.

Of course, I will add this change to the patch.

> Are you sure that hfsplus_sync_fs() should be called here? As far as I
> can see, sync_filesystem() does it for you. What the reason for second
> call? Or do I miss something?

I wanted to avoid reordering the original code and also avoid to duplicate
the call to sync_filesystem() (as I did in the end int the HFS patch).
Now when adding the second change to clear HFSPLUS_VOL_UNMNT and set
HFSPLUS_VOL_INCNSTNT on remounting READ-WRITE, the reordering makes
perfect sense.

> Thanks,
> Vyacheslav Dubeyko.
>

Best regards,
Timo Schlüßler


      reply	other threads:[~2015-12-03 18:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-29 14:59 [PATCH 1/2] HFSPlus: clear dirty flags on remount read-only Timo Schlüßler
2015-11-29 22:50 ` Vyacheslav Dubeyko
2015-12-03 18:38   ` Timo Schlüßler [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=56608C3C.6010803@schluessler.org \
    --to=timo@schluessler.org \
    --cc=linux-fsdevel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.