]> git.baikalelectronics.ru Git - kernel.git/commit
locks: convert an -EINVAL return to a BUG
authorJ. Bruce Fields <bfields@citi.umich.edu>
Sat, 30 Jun 2007 16:40:32 +0000 (12:40 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 18 Jul 2007 23:09:27 +0000 (19:09 -0400)
commit4e4b1501225c543d9d3859398a51acaf59f2e8be
tree3ca5586f765066acae9e2c20eb5578ce3220e4e8
parent8af76d8c9b9ee4d13d7ce832c8b44366649eed8e
locks: convert an -EINVAL return to a BUG

There's no point trying to return an error in these cases, which all represent
bugs in the callers.

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