[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+55aFzc0DC8bHkd4GKVwiwhJfTmPnfHZhkUJT2ovb=nh-T0Eg@mail.gmail.com>
Date: Thu, 9 Jun 2016 11:55:24 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Deepa Dinamani <deepa.kernel@...il.com>
Cc: linux-fsdevel <linux-fsdevel@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Arnd Bergmann <arnd@...db.de>,
Thomas Gleixner <tglx@...utronix.de>,
Al Viro <viro@...iv.linux.org.uk>, y2038@...ts.linaro.org,
"Theodore Ts'o" <tytso@....edu>,
Andreas Dilger <adilger.kernel@...ger.ca>,
"linux-ext4@...r.kernel.org" <linux-ext4@...r.kernel.org>
Subject: Re: [PATCH 02/21] fs: ext4: Use current_fs_time() for inode timestamps
On Thu, Jun 9, 2016 at 11:45 AM, Linus Torvalds
<torvalds@...ux-foundation.org> wrote:
>
> All existing users and all the ones in this patch (and the others too,
> although I didn't go through them very carefully) really would prefer
> just passing in the inode directly, rather than the superblock.
Actually, there seems to be one exception to that "all existing
users", and that one exception (btrfs transacation time) really seems
to be broken. Exactly because it's *not* setting an inode time, it
shouldn't have used current_fs_time() to begin with, because it is
just setting an internal filesystem timestamp.
So not making the argument inode-related seems to actually encourage
people to misuse this function.
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists