diff options
author | Brian Behlendorf <[email protected]> | 2015-07-16 13:35:04 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-07-17 09:18:22 -0700 |
commit | 2a53e2dacc7a7c0a8c63ff2eef3aff95f6ac80b1 (patch) | |
tree | bac21535610c22603ee4656d14edac1fe3b0fc63 /lib/libunicode/Makefile.am | |
parent | bd29109f1ac5be68f7f7c8bcb49e1b706fe899f0 (diff) |
Update inode under range lock
After a successful write the inode must be updated under the range
lock. If it is updated after dropping the lock there exists a race
where the znode and inode wile disagree about the file size. This
could result in narrow window of time where read(2) is able to access
data beyond what fstat(2) reports as the file size.
Signed-off-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ned Bass <[email protected]>
Closes #3601
Diffstat (limited to 'lib/libunicode/Makefile.am')
0 files changed, 0 insertions, 0 deletions