diff options
| author | Benny Halevy <bhalevy@panasas.com> | 2008-03-31 17:39:06 +0300 |
|---|---|---|
| committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-04-19 16:54:47 -0400 |
| commit | 856dff3d3875bdc8b88e4a65779873af76776a69 (patch) | |
| tree | 03f10cfa3319df59987fa20b1e96902d96fdb4ee /scripts/patch-kernel | |
| parent | NLM/lockd: Ensure client locking calls use correct credentials (diff) | |
| download | linux-856dff3d3875bdc8b88e4a65779873af76776a69.tar.gz linux-856dff3d3875bdc8b88e4a65779873af76776a69.zip | |
nfs: return negative error value from nfs{,4}_stat_to_errno
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>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
