Re: [PATCH 2/2] fs: print a message when freezing/unfreezing filesystems

Mateusz Guzik
2014-05-13T19:06:56Z

On Tue, May 13, 2014 at 12:00:21PM -0700, Joe Perches wrote:
> On Tue, 2014-05-13 at 20:53 +0200, Mateusz Guzik wrote:
> > This is the same code which you can find at the end of the function.
> > I added the label so that I can write freeze printk only once.
>
> Yes, but for a read-only filesystem is the message useful?
>

I see no harm in printing it and it seems more correct given that
s_writers.frozen changed, but I'm fine either way.

btw, I just noticed a copy-pasto - the same message for freezing and
unfreezing found its way into the patch. sigh.
--
Mateusz Guzik