[GFS2] Fix problems relating to execution of files on GFS2
authorSteven Whitehouse <swhiteho@redhat.com>
Tue, 8 Jan 2008 08:14:30 +0000 (08:14 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 25 Jan 2008 08:17:31 +0000 (08:17 +0000)
commit9656b2c14c6ee0806c90a6be41dec71117fc8f50
tree3e093571e695bf780885f36caec9594392da31fc
parent0811a127cb83ad2e0355e5e3e30164d7ef0f2d65
[GFS2] Fix problems relating to execution of files on GFS2

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 on the
first lookup, subsequent requests worked correctly. The second was a problem
relating to incorrect updating of file sizes which was introduced with the
write_begin/end code for GFS2 a little while back.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Cc: Abhijith Das <adas@redhat.com>
fs/gfs2/ops_address.c
fs/gfs2/ops_inode.c