mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
parent
62bb109170
commit
8d334acdd2
2 changed files with 3 additions and 3 deletions
|
|
@ -166,7 +166,7 @@ EXPORT_SYMBOL(setattr_copy);
|
|||
int notify_change(struct dentry * dentry, struct iattr * attr)
|
||||
{
|
||||
struct inode *inode = dentry->d_inode;
|
||||
mode_t mode = inode->i_mode;
|
||||
umode_t mode = inode->i_mode;
|
||||
int error;
|
||||
struct timespec now;
|
||||
unsigned int ia_valid = attr->ia_valid;
|
||||
|
|
@ -177,7 +177,7 @@ int notify_change(struct dentry * dentry, struct iattr * attr)
|
|||
}
|
||||
|
||||
if ((ia_valid & ATTR_MODE)) {
|
||||
mode_t amode = attr->ia_mode;
|
||||
umode_t amode = attr->ia_mode;
|
||||
/* Flag setting protected by i_mutex */
|
||||
if (is_sxid(amode))
|
||||
inode->i_flags &= ~S_NOSEC;
|
||||
|
|
|
|||
Loading…
Reference in a new issue