Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 142159
b: refs/heads/master
c: 18f8273
h: refs/heads/master
i:
  142157: 68739dc
  142155: 01ebf84
  142151: 06ac5a7
  142143: d887655
v: v3
  • Loading branch information
J. Bruce Fields committed Mar 18, 2009
1 parent 47226dd commit 4608186
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 6150ef0dc7f734366d297e2eb5697ae458a1ea19
refs/heads/master: 18f82731b7784ba81ee9b1ed6a8179b577fa898b
4 changes: 2 additions & 2 deletions trunk/fs/nfsd/nfs4state.c
Original file line number Diff line number Diff line change
Expand Up @@ -2019,7 +2019,7 @@ check_special_stateids(svc_fh *current_fh, stateid_t *stateid, int flags)
* that are not able to provide mandatory locking.
*/
static inline int
io_during_grace_disallowed(struct inode *inode, int flags)
grace_disallows_io(struct inode *inode)
{
return locks_in_grace() && mandatory_lock(inode);
}
Expand Down Expand Up @@ -2063,7 +2063,7 @@ nfs4_preprocess_stateid_op(struct svc_fh *current_fh, stateid_t *stateid, int fl
if (filpp)
*filpp = NULL;

if (io_during_grace_disallowed(ino, flags))
if (grace_disallows_io(ino))
return nfserr_grace;

if (ZERO_STATEID(stateid) || ONE_STATEID(stateid))
Expand Down

0 comments on commit 4608186

Please sign in to comment.