projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hpfs: remove unnecessary checks on the value of r when assigning error code
[linux-2.6-microblaze.git]
/
fs
/
hpfs
/
namei.c
diff --git
a/fs/hpfs/namei.c
b/fs/hpfs/namei.c
index
082b7c7
..
1aee391
100644
(file)
--- a/
fs/hpfs/namei.c
+++ b/
fs/hpfs/namei.c
@@
-565,7
+565,7
@@
static int hpfs_rename(struct inode *old_dir, struct dentry *old_dentry,
err = -EFSERROR;
goto end1;
}
- err =
r == 2 ? -ENOSPC : r == 1 ? -EFSERROR : 0
;
+ err =
-ENOSPC
;
goto end1;
}