]> err.no Git - linux-2.6/commit
leases: fix a return-value mixup
authorDavid M. Richter <richterd@citi.umich.edu>
Wed, 23 Apr 2008 20:28:59 +0000 (16:28 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 25 Apr 2008 16:58:22 +0000 (12:58 -0400)
commit5fcc60c3a05bf417229fba715e7aec52bf6717fb
tree6107e4db59f6394c4854e782e96e6343202df3af
parentb69d3987f4360a5e7e9e55465b3cdd0cc204b79e
leases: fix a return-value mixup

Fixes a return-value mixup from 85c59580b30c82aa771aa33b37217a6b6851bc14
"locks: Fix potential OOPS in generic_setlease()", in which -ENOMEM replaced
what had been intended to stay -EAGAIN in the variable "error".

Signed-off-by: David M. Richter <richterd@citi.umich.edu>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/locks.c