X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fllite%2Ffile.c;h=e081f33dfa3f3681fafe1ba7894821bb46f0a469;hp=1921feacfad2c9c383b6bbc8a5ffeb3166b8f3b8;hb=72a84970e6d2a2d4b3a35f2ee058511be2fda82e;hpb=88b329ac2ab568a25251f3f7c3a7e0c7367cb36f diff --git a/lustre/llite/file.c b/lustre/llite/file.c index 1921fea..e081f33 100644 --- a/lustre/llite/file.c +++ b/lustre/llite/file.c @@ -1372,7 +1372,7 @@ static bool file_is_noatime(const struct file *file) if ((mnt->mnt_flags & MNT_NODIRATIME) && S_ISDIR(inode->i_mode)) return true; - if ((inode->i_sb->s_flags & MS_NODIRATIME) && S_ISDIR(inode->i_mode)) + if ((inode->i_sb->s_flags & SB_NODIRATIME) && S_ISDIR(inode->i_mode)) return true; return false;