bcachefs: fsync() should not return -EROFS
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 8 May 2024 21:33:29 +0000 (17:33 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 9 May 2024 20:23:36 +0000 (16:23 -0400)
commitd09a8468d915850709ae5f34c23e2b24cb5c3c62
tree8e890f9469ffb7904693c0b13b5a21964d6c725b
parent99179fb89847f312229bf816200e1e6e5038e3a3
bcachefs: fsync() should not return -EROFS

fsync has a slightly odd usage of -EROFS, where it means "does not
support fsync". I didn't choose it...

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fs-io.c