Hi,
On 05/10/2012 05:08 PM, Jonathan Nieder wrote:
I looked at the 2.6.32-44 kernel source to see if the simple fix
Trond suggested can be applied there as well, but I fail to find the
context where the extra line could be needed.
Here's a patch to try against 2.6.32.y.
Hope that helps,
Jonathan
fs/nfs/nfs4proc.c | 1 +
1 file changed, 1 insertion(+)
diff --git i/fs/nfs/nfs4proc.c w/fs/nfs/nfs4proc.c
index 3c759df78f36..21c7190691d8 100644
--- i/fs/nfs/nfs4proc.c
+++ w/fs/nfs/nfs4proc.c
@@ -1586,6 +1586,7 @@ static int _nfs4_do_open(struct inode *dir, struct path
*path, fmode_t fmode, in
goto err_opendata_put;
if (server->caps& NFS_CAP_POSIX_LOCK)
set_bit(NFS_STATE_POSIX_LOCKS,&state->flags);
+ nfs_revalidate_inode(server, state->inode);
nfs4_opendata_put(opendata);
nfs4_put_state_owner(sp);
*res = state;
I've applied this patch to the Debian 2.6.32-44 kernel and it works
there as well.
Please consider applying this patch in a future kernel update.
Regards,
Rik
--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4facdd8d.10...@esat.kuleuven.be