Cleanup macros for distinguishing mandatory locks
[powerpc.git] / fs / nfsd / nfs4state.c
index 3f55970..3c028b9 100644 (file)
@@ -2044,7 +2044,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);
 }
 
 /*