git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d11d10c
)
nfs: return negative error value from nfs{,4}_stat_to_errno
author
Benny Halevy
<bhalevy@panasas.com>
Mon, 31 Mar 2008 14:39:06 +0000
(17:39 +0300)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Sat, 19 Apr 2008 20:54:47 +0000
(16:54 -0400)
All use sites for nfs{,4}_stat_to_errno negate their return value.
It's more efficient to return a negative error from the stat_to_errno convertors
rather than negating its return value everywhere. This also produces slightly
smaller code.
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
No differences found