summary refs log tree commit diff
path: root/fs/ext4
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2014-01-20 15:43:25 -0800
committerAl Viro <viro@zeniv.linux.org.uk>2014-01-26 08:26:43 -0500
commita8323da0366d3398eda62741d2ac1130c8a172ed (patch)
treec6b7d5d61536d664fa0d37b4a4784245aebfaccf /fs/ext4
parent260a459d2e39761fbd39803497205ce1690bc7b1 (diff)
downloadlinux-a8323da0366d3398eda62741d2ac1130c8a172ed.tar.gz
vfs: Remove second variable named error in __dentry_path
In commit  232d2d60aa5469bb097f55728f65146bd49c1d25
Author: Waiman Long <Waiman.Long@hp.com>
Date:   Mon Sep 9 12:18:13 2013 -0400

    dcache: Translating dentry into pathname without taking rename_lock

The __dentry_path locking was changed and the variable error was
intended to be moved outside of the loop.  Unfortunately the inner
declaration of error was not removed. Resulting in a version of
__dentry_path that will never return an error.

Remove the problematic inner declaration of error and allow
__dentry_path to return errors once again.

Cc: stable@vger.kernel.org
Cc: Waiman Long <Waiman.Long@hp.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ext4')
0 files changed, 0 insertions, 0 deletions