diff options
Diffstat (limited to 'fs/inode.c')
-rw-r--r-- | fs/inode.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/fs/inode.c b/fs/inode.c index ce48c359ce9e..4bcdad3c9361 100644 --- a/fs/inode.c +++ b/fs/inode.c | |||
@@ -1603,7 +1603,11 @@ static int __remove_suid(struct dentry *dentry, int kill) | |||
1603 | struct iattr newattrs; | 1603 | struct iattr newattrs; |
1604 | 1604 | ||
1605 | newattrs.ia_valid = ATTR_FORCE | kill; | 1605 | newattrs.ia_valid = ATTR_FORCE | kill; |
1606 | return notify_change(dentry, &newattrs); | 1606 | /* |
1607 | * Note we call this on write, so notify_change will not | ||
1608 | * encounter any conflicting delegations: | ||
1609 | */ | ||
1610 | return notify_change(dentry, &newattrs, NULL); | ||
1607 | } | 1611 | } |
1608 | 1612 | ||
1609 | int file_remove_suid(struct file *file) | 1613 | int file_remove_suid(struct file *file) |