mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
kill f_dentry uses
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
30e46aba8f
commit
b583043e99
19 changed files with 31 additions and 37 deletions
|
@ -154,7 +154,7 @@ SYSCALL_DEFINE1(syncfs, int, fd)
|
|||
|
||||
if (!f.file)
|
||||
return -EBADF;
|
||||
sb = f.file->f_dentry->d_sb;
|
||||
sb = f.file->f_path.dentry->d_sb;
|
||||
|
||||
down_read(&sb->s_umount);
|
||||
ret = sync_filesystem(sb);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue