bcachefs: Fix for not dropping privs in fallocate
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 13 Oct 2022 04:44:34 +0000 (00:44 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:43 +0000 (17:09 -0400)
commit07bfcc0b4c92a569b7f613a3202f45c89f983b4f
treec71d774c394067c167649c31f04362498277e4ef
parent3a4d3656e5620df8323448c7d33f4b1401ff14ec
bcachefs: Fix for not dropping privs in fallocate

When modifying a file, we may be required to drop the suid/sgid bits -
we were missing a file_modified() call to do this.

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