commit | b583043e99bc6d91e98fae32bd9eff6a5958240a | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Fri Oct 31 01:22:04 2014 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Nov 19 13:01:25 2014 -0500 |
tree | 8f2f9a4d28ae16c7d452808ff400bb1f31fb09c8 | |
parent | 30e46aba8f1010b03178f04c0c56be299c063df2 [diff] [blame] |
kill f_dentry uses Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/sync.c b/fs/sync.c index bdc729d..01d9f18 100644 --- a/fs/sync.c +++ b/fs/sync.c
@@ -154,7 +154,7 @@ 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);