mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
Revert "vfs: add flags to d_real()"
This reverts commit 495e642939.
No user of "flags" argument of d_real() remain.
Signed-off-by: Miklos Szeredi <[email protected]>
This commit is contained in:
parent
c671854346
commit
4ab30319fd
6 changed files with 11 additions and 12 deletions
|
|
@ -96,7 +96,7 @@ long vfs_truncate(const struct path *path, loff_t length)
|
|||
* write access on the upper inode, not on the overlay inode. For
|
||||
* non-overlay filesystems d_real() is an identity function.
|
||||
*/
|
||||
upperdentry = d_real(path->dentry, NULL, O_WRONLY, 0);
|
||||
upperdentry = d_real(path->dentry, NULL, O_WRONLY);
|
||||
error = PTR_ERR(upperdentry);
|
||||
if (IS_ERR(upperdentry))
|
||||
goto mnt_drop_write_and_out;
|
||||
|
|
|
|||
Loading…
Reference in a new issue