diff options
| author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-01-25 09:52:48 -0500 |
|---|---|---|
| committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-01-25 09:52:48 -0500 |
| commit | f1487fcbe47cd2bc0c71e8598bf9eb6a82dec544 (patch) | |
| tree | 4c7abed6047538c13dd024a8ecffd15f31b4609a /fs/configfs/symlink.c | |
| parent | 84549d239ab9bb2e3a85c6efcf0e6478a38b4260 (diff) | |
| parent | 40aa7030e5213a43e9e0554fd7f95534ea310bf3 (diff) | |
Merge branch 'for-2.6.33' into for-2.6.34
Diffstat (limited to 'fs/configfs/symlink.c')
| -rw-r--r-- | fs/configfs/symlink.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/configfs/symlink.c b/fs/configfs/symlink.c index c8afa6b1d91..32a5f46b115 100644 --- a/fs/configfs/symlink.c +++ b/fs/configfs/symlink.c | |||
| @@ -121,8 +121,10 @@ static int get_target(const char *symname, struct path *path, | |||
| 121 | ret = -ENOENT; | 121 | ret = -ENOENT; |
| 122 | path_put(path); | 122 | path_put(path); |
| 123 | } | 123 | } |
| 124 | } else | 124 | } else { |
| 125 | ret = -EPERM; | 125 | ret = -EPERM; |
| 126 | path_put(path); | ||
| 127 | } | ||
| 126 | } | 128 | } |
| 127 | 129 | ||
| 128 | return ret; | 130 | return ret; |
