[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20141125160256.GH26471@twin.jikos.cz>
Date: Tue, 25 Nov 2014 17:02:56 +0100
From: David Sterba <dsterba@...e.cz>
To: Theodore Ts'o <tytso@....edu>
Cc: Linux Filesystem Development List <linux-fsdevel@...r.kernel.org>,
Ext4 Developers List <linux-ext4@...r.kernel.org>,
Linux btrfs Developers List <linux-btrfs@...r.kernel.org>,
XFS Developers <xfs@....sgi.com>
Subject: Re: [PATCH-v3 6/6] btrfs: add an is_readonly() so btrfs can use
common code for update_time()
On Tue, Nov 25, 2014 at 12:34:34AM -0500, Theodore Ts'o wrote:
> The only reason btrfs cloned code from the VFS layer was so it could
> add a check to see if a subvolume is read-ony. Instead of doing that,
> let's add a new inode operation which allows a file system to return
> an error if the inode is read-only, and use that in update_time().
> There may be other places where the VFS layer may want to know that
> btrfs would want to treat an inode is read-only.
>
> With this commit, there are no remaining users of update_time() in the
> inode operations structure, so we can remove it and simply things
> further.
>
> Signed-off-by: Theodore Ts'o <tytso@....edu>
> Cc: linux-btrfs@...r.kernel.org
Reviewed-by: David Sterba <dsterba@...e.cz>
--
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