projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ARM64: DTS: enabled RGA device
[firefly-linux-kernel-4.4.55.git]
/
fs
/
inode.c
diff --git
a/fs/inode.c
b/fs/inode.c
index 2c16b758831dd08715c3c6e270c97f00b6bed10c..6a7234f0afeac74ea1dfadd8373f923bea167a90 100644
(file)
--- a/
fs/inode.c
+++ b/
fs/inode.c
@@
-1721,7
+1721,7
@@
int dentry_needs_remove_privs(struct dentry *dentry)
}
EXPORT_SYMBOL(dentry_needs_remove_privs);
}
EXPORT_SYMBOL(dentry_needs_remove_privs);
-static int __remove_privs(struct dentry *dentry, int kill)
+static int __remove_privs(struct
vfsmount *mnt, struct
dentry *dentry, int kill)
{
struct iattr newattrs;
{
struct iattr newattrs;
@@
-1730,7
+1730,7
@@
static int __remove_privs(struct dentry *dentry, int kill)
* Note we call this on write, so notify_change will not
* encounter any conflicting delegations:
*/
* Note we call this on write, so notify_change will not
* encounter any conflicting delegations:
*/
- return notify_change
(
dentry, &newattrs, NULL);
+ return notify_change
2(mnt,
dentry, &newattrs, NULL);
}
/*
}
/*
@@
-1752,7
+1752,7
@@
int file_remove_privs(struct file *file)
if (kill < 0)
return kill;
if (kill)
if (kill < 0)
return kill;
if (kill)
- error = __remove_privs(dentry, kill);
+ error = __remove_privs(
file->f_path.mnt,
dentry, kill);
if (!error)
inode_has_no_xattr(inode);
if (!error)
inode_has_no_xattr(inode);