|
@@ -906,7 +906,7 @@ static int fuse_permission(struct inode *inode, int mask, struct nameidata *nd)
|
|
}
|
|
}
|
|
|
|
|
|
if (fc->flags & FUSE_DEFAULT_PERMISSIONS) {
|
|
if (fc->flags & FUSE_DEFAULT_PERMISSIONS) {
|
|
- int err = generic_permission(inode, mask, NULL);
|
|
|
|
|
|
+ err = generic_permission(inode, mask, NULL);
|
|
|
|
|
|
/* If permission is denied, try to refresh file
|
|
/* If permission is denied, try to refresh file
|
|
attributes. This is also needed, because the root
|
|
attributes. This is also needed, because the root
|