aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/zfs_replay.c
diff options
context:
space:
mode:
authorChunwei Chen <tuxoko@gmail.com>2017-08-11 08:57:54 -0700
committerBrian Behlendorf <behlendorf1@llnl.gov>2017-08-11 08:57:54 -0700
commit376994828fd3753aba75d492859727ca76f6a293 (patch)
tree5d9f3429720872776dc035ee91438592a2f7ef21 /module/zfs/zfs_replay.c
parent761b8ec6bf98f39550353173ad7bec5306073f9c (diff)
Fix NULL pointer when O_SYNC read in snapshot
When doing read on a file open with O_SYNC, it will trigger zil_commit. However for snapshot, there's no zil, so we shouldn't be doing that. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Chunwei Chen <david.chen@osnexus.com> Closes #6478 Closes #6494
Diffstat (limited to 'module/zfs/zfs_replay.c')
0 files changed, 0 insertions, 0 deletions