]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/zfs_vnops.c
Fix snapshots with dirty inodes
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 20 Oct 2014 21:37:47 +0000 (14:37 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 20 Nov 2014 18:38:16 +0000 (10:38 -0800)
commitc944be5d7e619ad7259fdb5802f0f9bd90a22488
tree1fb3cf9abd4344b22eb8e338577259df94f4774e
parent80c50365c21ea98ae78150f32c3f35e075815c44
Fix snapshots with dirty inodes

Filesystems which are mounted read-only or are immutable because
they are snapshots must not be allowed to dirty and inode.  This
will result in a write which will correctly cause a kernel panic
because these filesystem are (and must be) immutable.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2812
module/zfs/zfs_vnops.c