Re: [V9fs-developer] [PATCH] fs/9p/: don't treat error as status value in file locking

2014-08-10 Thread Aneesh Kumar K.V
Sasha Levin writes: > When trying to lock a file we didn't properly handle the case where a > failure in p9_client_lock_dotl() occurs and treated the status value > as valid instead of discarding it due to the error. > > This would usually trigger a BUG() since the status value would > just be st

Re: [PATCH] fs/9p/: don't treat error as status value in file locking

2014-08-05 Thread Sasha Levin
Ping? On 06/22/2014 07:44 PM, Sasha Levin wrote: > When trying to lock a file we didn't properly handle the case where a > failure in p9_client_lock_dotl() occurs and treated the status value > as valid instead of discarding it due to the error. > > This would usually trigger a BUG() since the st

[PATCH] fs/9p/: don't treat error as status value in file locking

2014-06-22 Thread Sasha Levin
When trying to lock a file we didn't properly handle the case where a failure in p9_client_lock_dotl() occurs and treated the status value as valid instead of discarding it due to the error. This would usually trigger a BUG() since the status value would just be stack garbage. Signed-off-by: Sash