Re: [Cluster-devel] [GFS2] Fix problems relating to execution of files on GFS2

2008-01-08 Thread Steven Whitehouse
Hi, On Mon, 2008-01-07 at 13:11 -0500, Wendy Cheng wrote: > Steven Whitehouse wrote: > > --- a/fs/gfs2/ops_inode.c > > +++ b/fs/gfs2/ops_inode.c > > @@ -113,8 +113,18 @@ static struct dentry *gfs2_lookup(struct inode *dir, > > struct dentry *dentry, > > if (inode && IS_ERR(inode)) > >

Re: [Cluster-devel] [GFS2] Fix problems relating to execution of files on GFS2

2008-01-07 Thread Wendy Cheng
Steven Whitehouse wrote: --- a/fs/gfs2/ops_inode.c +++ b/fs/gfs2/ops_inode.c @@ -113,8 +113,18 @@ static struct dentry *gfs2_lookup(struct inode *dir, struct dentry *dentry, if (inode && IS_ERR(inode)) return ERR_PTR(PTR_ERR(inode)); - if (inode) + if (inode) { +

[Cluster-devel] [GFS2] Fix problems relating to execution of files on GFS2

2008-01-07 Thread Steven Whitehouse
Hi, This patch fixes a couple of problems which affected the execution of files on GFS2. The first is that there was a corner case where inodes were not always uptodate at the point at which permissions checks were being carried out, this was resulting in refusal of execute permission, but only