Re: [PATCH] fs/gfs2: mark struct *_operations const

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Denis Cheng <crquan@...>
Cc: <cluster-devel@...>, <linux-kernel@...>, <chdebra@...>
Date: Tuesday, July 31, 2007 - 5:17 am

Hi,

On Tue, 2007-07-31 at 13:46 +0800, Denis Cheng wrote:

In general this looks good, however where you have made changes in the
two include files dcache.h and mm.h be aware that other filesystems also
use these and I suspect there are more places to change than just gfs2.
Can you do a test build with all filesystems enabled to ensure that
you've got all the places which can then be marked const? OCFS2, to take
one example, has a vm_operations_struct which would need to be updated
on that basis at least.

In fact if you can break this up into a patch which affects only gfs2
(which I can apply right away) and a patch which affects the core, plus
updates for the various filesytems that would probably make things
easier from the merging point of view. Since the latter would affect
multiple filesystems, it would make sense to push it through -mm rather
than for me to put it in my git tree,

Steve.


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] fs/gfs2: mark struct *_operations const, Denis Cheng, (Tue Jul 31, 1:46 am)
Re: [PATCH] fs/gfs2: mark struct *_operations const, Steven Whitehouse, (Tue Jul 31, 5:17 am)
[PATCH 1/3] fs/gfs2: mark struct *_operations const, Denis Cheng, (Tue Jul 31, 6:31 am)
Re: [PATCH 3/3] fs/gfs2: also mark struct {dentry,vm}_operat..., Steven Whitehouse, (Tue Jul 31, 7:47 am)