Commit a9b979a5 authored by Robert Love's avatar Robert Love Committed by Linus Torvalds

[PATCH] Re: [PATCH] Re: 2.5: further llseek cleanup (3/3)

Ugh, another one.  Linus, please apply.

	Robert Love
parent 3aa909ab
...@@ -471,7 +471,6 @@ static loff_t eeprom_lseek(struct file * file, loff_t offset, int orig) ...@@ -471,7 +471,6 @@ static loff_t eeprom_lseek(struct file * file, loff_t offset, int orig)
if (file->f_pos < 0) if (file->f_pos < 0)
{ {
file->f_pos = 0; file->f_pos = 0;
unlock_kernel();
ret = -EOVERFLOW; ret = -EOVERFLOW;
} }
...@@ -481,6 +480,7 @@ static loff_t eeprom_lseek(struct file * file, loff_t offset, int orig) ...@@ -481,6 +480,7 @@ static loff_t eeprom_lseek(struct file * file, loff_t offset, int orig)
ret = -EOVERFLOW; ret = -EOVERFLOW;
} }
unlock_kernel();
return ( ret ); return ( ret );
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment