diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-04-11 22:15:38 (GMT) |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-04-12 17:24:22 (GMT) |
commit | 33b1395124c63ed4a42e33c1dd14859f9b3f29c2 (patch) | |
tree | 60ded5e8774cb091f56d58756c9d16211266050b /fs/overlayfs/copy_up.c | |
parent | d7d75352890447b55c13a81df316a6894ff32ecf (diff) | |
download | linux-33b1395124c63ed4a42e33c1dd14859f9b3f29c2.tar.xz |
f2fs: use dget_parent and file_dentry in f2fs_file_open
This patch synced with the below two ext4 crypto fixes together.
In 4.6-rc1, f2fs newly introduced accessing f_path.dentry which crashes
overlayfs. To fix, now we need to use file_dentry() to access that field.
Fixes: c0a37d487884 ("ext4: use file_dentry()")
Fixes: 9dd78d8c9a7b ("ext4: use dget_parent() in ext4_file_open()")
Cc: Miklos Szeredi <mszeredi@redhat.com>
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/overlayfs/copy_up.c')
0 files changed, 0 insertions, 0 deletions