nilfs2: deny write access to inodes in snapshots
[pandora-kernel.git] / fs / nilfs2 / namei.c
index a65f465..185d160 100644 (file)
@@ -588,6 +588,7 @@ const struct inode_operations nilfs_symlink_inode_operations = {
        .readlink       = generic_readlink,
        .follow_link    = page_follow_link_light,
        .put_link       = page_put_link,
+       .permission     = nilfs_permission,
 };
 
 const struct export_operations nilfs_export_ops = {