Searched hist:"68 a507a2e8cdc9b90599bb5d220a696abdc54838" (Results 1 – 4 of 4) sorted by relevance
/linux/fs/bcachefs/ |
H A D | fs-io.h | diff 68a507a2e8cdc9b90599bb5d220a696abdc54838 Tue Jun 15 04:29:54 CEST 2021 Kent Overstreet <kent.overstreet@gmail.com> bcachefs: fix truncate with ATTR_MODE
After the v5.12 rebase, we started oopsing when truncate was passed ATTR_MODE, due to not passing mnt_userns to setattr_copy(). This refactors things so that truncate/extend finish by using bch2_setattr_nonsize(), which solves the problem.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
H A D | fs.h | diff 68a507a2e8cdc9b90599bb5d220a696abdc54838 Tue Jun 15 04:29:54 CEST 2021 Kent Overstreet <kent.overstreet@gmail.com> bcachefs: fix truncate with ATTR_MODE
After the v5.12 rebase, we started oopsing when truncate was passed ATTR_MODE, due to not passing mnt_userns to setattr_copy(). This refactors things so that truncate/extend finish by using bch2_setattr_nonsize(), which solves the problem.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
H A D | fs-io.c | diff 68a507a2e8cdc9b90599bb5d220a696abdc54838 Tue Jun 15 04:29:54 CEST 2021 Kent Overstreet <kent.overstreet@gmail.com> bcachefs: fix truncate with ATTR_MODE
After the v5.12 rebase, we started oopsing when truncate was passed ATTR_MODE, due to not passing mnt_userns to setattr_copy(). This refactors things so that truncate/extend finish by using bch2_setattr_nonsize(), which solves the problem.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
H A D | fs.c | diff 68a507a2e8cdc9b90599bb5d220a696abdc54838 Tue Jun 15 04:29:54 CEST 2021 Kent Overstreet <kent.overstreet@gmail.com> bcachefs: fix truncate with ATTR_MODE
After the v5.12 rebase, we started oopsing when truncate was passed ATTR_MODE, due to not passing mnt_userns to setattr_copy(). This refactors things so that truncate/extend finish by using bch2_setattr_nonsize(), which solves the problem.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|