summaryrefslogtreecommitdiffstats
path: root/lib/memweight.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-03-07 23:07:10 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2016-03-07 23:07:10 -0500
commitf93812846f31381d35c04c6c577d724254355e7f (patch)
tree4043f57ba651a15b78e190d65da120791c085318 /lib/memweight.c
parent803c00123a8012b3a283c0530910653973ef6d8f (diff)
downloadlinux-f93812846f31381d35c04c6c577d724254355e7f.tar.gz
linux-f93812846f31381d35c04c6c577d724254355e7f.tar.bz2
linux-f93812846f31381d35c04c6c577d724254355e7f.zip
jffs2: reduce the breakage on recovery from halfway failed rename()
d_instantiate(new_dentry, old_inode) is absolutely wrong thing to do - it will oops if new_dentry used to be positive, for starters. What we need is d_invalidate() the target and be done with that. Cc: stable@vger.kernel.org # v3.18+ Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'lib/memweight.c')
0 files changed, 0 insertions, 0 deletions