author: Fabian Frederick <fabf@skynet.be> 2015-04-16 12:48:15 -0700
committer: Linus Torvalds <torvalds@linux-foundation.org> 2015-04-17 09:04:08 -0400
commit: a0016ff2867ad25aad9807fb46bd0d85429dd5e8
parent: b796410630a0f090864d7595c6bffbc0136f0f8c
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/affs/amigaffs.c b/fs/affs/amigaffs.c
index 388da1ea815d..1a90e19a3f5b 100644
--- a/fs/affs/amigaffs.c
+++ b/fs/affs/amigaffs.c
@@ -472,7 +472,7 @@ bool
affs_nofilenametruncate(const struct dentry *dentry)
{
struct inode *inode = dentry->d_inode;
- return AFFS_SB(inode->i_sb)->s_flags & SF_NO_TRUNCATE;
+ return AFFS_SB(inode->i_sb)->s_flags & AFFS_MOUNT_SF_NO_TRUNCATE;
}