kill f_dentry uses

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2014-10-31 01:22:04 -04:00
parent 30e46aba8f
commit b583043e99
19 changed files with 31 additions and 37 deletions

View file

@ -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);