[GFS2] Reorganize function gfs2_glmutex_lock
[pandora-kernel.git] / fs / nfsd / nfs4state.c
index 6f182d2..31673cd 100644 (file)
@@ -2035,7 +2035,7 @@ static inline int
 io_during_grace_disallowed(struct inode *inode, int flags)
 {
        return nfs4_in_grace() && (flags & (RD_STATE | WR_STATE))
-               && MANDATORY_LOCK(inode);
+               && mandatory_lock(inode);
 }
 
 /*