Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10129
b: refs/heads/master
c: bec273b
h: refs/heads/master
i:
  10127: 3778929
v: v3
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Oct 28, 2005
1 parent a132482 commit 5e7bcd0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 16c32b71bc53d6f7143702ebb264b4ef20d8f1e5
refs/heads/master: bec273b491bd16351a9cdb8e9a51d30afa7fe9f4
4 changes: 0 additions & 4 deletions trunk/fs/nfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 5e7bcd0

Please sign in to comment.