From: Goldwyn Rodrigues
Return EAGAIN if any of the following checks fail
+ i_rwsem is lockable
+ NODATACOW or PREALLOC is set
+ Can nocow at the desired location
+ Writing beyond end of file
Signed-off-by: Goldwyn Rodrigues
---
fs/btrfs/file.c | 25 -
fs/btrfs/ino
On 14.02.2017 04:46, Goldwyn Rodrigues wrote:
> From: Goldwyn Rodrigues
>
> Return EAGAIN if any of the following checks fail
> + i_rwsem is lockable
> + NODATACOW or PREALLOC is set
perhaps you wanted to say "NODATACOW or PREALLOC is _not_ set"? See below
> + Can nocow at the desired lo