diff --git a/[refs] b/[refs] index 62db1e7905be..2cfa3b195072 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 16c32b71bc53d6f7143702ebb264b4ef20d8f1e5 +refs/heads/master: bec273b491bd16351a9cdb8e9a51d30afa7fe9f4 diff --git a/trunk/fs/nfs/inode.c b/trunk/fs/nfs/inode.c index 6b3156e15350..f2781ca42761 100644 --- a/trunk/fs/nfs/inode.c +++ b/trunk/fs/nfs/inode.c @@ -1057,15 +1057,11 @@ int nfs_open(struct inode *inode, struct file *filp) ctx->mode = filp->f_mode; nfs_file_set_open_context(filp, ctx); put_nfs_open_context(ctx); - if ((filp->f_mode & FMODE_WRITE) != 0) - nfs_begin_data_update(inode); return 0; } int nfs_release(struct inode *inode, struct file *filp) { - if ((filp->f_mode & FMODE_WRITE) != 0) - nfs_end_data_update(inode); nfs_file_clear_open_context(filp); return 0; }