diff options
Diffstat (limited to 'fs/ecryptfs/mmap.c')
-rw-r--r-- | fs/ecryptfs/mmap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ecryptfs/mmap.c b/fs/ecryptfs/mmap.c index 7be8e91b5ba0..7def4be83e61 100644 --- a/fs/ecryptfs/mmap.c +++ b/fs/ecryptfs/mmap.c | |||
@@ -502,7 +502,8 @@ static int ecryptfs_write_inode_size_to_xattr(struct inode *lower_inode, | |||
502 | goto out; | 502 | goto out; |
503 | } | 503 | } |
504 | lower_dentry = ecryptfs_dentry_to_lower(ecryptfs_dentry); | 504 | lower_dentry = ecryptfs_dentry_to_lower(ecryptfs_dentry); |
505 | if (!lower_dentry->d_inode->i_op->getxattr) { | 505 | if (!lower_dentry->d_inode->i_op->getxattr || |
506 | !lower_dentry->d_inode->i_op->setxattr) { | ||
506 | printk(KERN_WARNING | 507 | printk(KERN_WARNING |
507 | "No support for setting xattr in lower filesystem\n"); | 508 | "No support for setting xattr in lower filesystem\n"); |
508 | rc = -ENOSYS; | 509 | rc = -ENOSYS; |