fs: fix compile error
PATCH 1/1 fs: fix compile error
From: lingfuyi <[email protected]>
fix compile error like this:fs/afs/dir.c:52:1: error: no return statement in function returning non-void
[-Werror=return-type]
Signed-off-by lingfuyi <[email protected]>
--- fs/afs/dir.c | 1 + 1 file changed, 1 insertion(+)
fs/afs/dir.c +1 -0
@@ -49,6 +49,7 @@ static bool afs_dir_dirty_folio(struct address_space *mapping, struct folio *folio) {BUG ();/* This should never happen. */ +return true; }const struct file_operations afs_dir_file_operations = {
Signature · 1 line
2.20.1