Merge tag 'nfsd-4.16' of git://linux-nfs.org/~bfields/linux
[linux-2.6-block.git] / fs / locks.c
index db374a0258112209aaa87d483800dce7a7f52d84..d6ff4beb70ce7bf0cadb9d234c4724e4d7eb6cba 100644 (file)
 
 static inline bool is_remote_lock(struct file *filp)
 {
-       return likely(!(filp->f_path.dentry->d_sb->s_flags & MS_NOREMOTELOCK));
+       return likely(!(filp->f_path.dentry->d_sb->s_flags & SB_NOREMOTELOCK));
 }
 
 static bool lease_breaking(struct file_lock *fl)