commit | 03209378b4b25775bf5e6a86e86f074a1057a439 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Mon Jul 25 20:54:24 2011 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Jul 26 15:05:30 2011 -0400 |
tree | 1995ce966b96082e68fd59a364b16163ac564989 | |
parent | abbede1b3a680e108d61aaa415ce5153296e775d [diff] [blame] |
xfs: fix misspelled S_IS...() mode_t is not a bitmap... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/xfs/linux-2.6/xfs_ioctl.c b/fs/xfs/linux-2.6/xfs_ioctl.c index 14fc00e..f7ce7de 100644 --- a/fs/xfs/linux-2.6/xfs_ioctl.c +++ b/fs/xfs/linux-2.6/xfs_ioctl.c
@@ -265,7 +265,7 @@ return PTR_ERR(filp); } - if (inode->i_mode & S_IFREG) { + if (S_ISREG(inode->i_mode)) { filp->f_flags |= O_NOATIME; filp->f_mode |= FMODE_NOCMTIME; }