Skip to content

Commit eb28062

Browse files
Bryan Wutorvalds
authored andcommitted
task_nommu: fix compile failing bug because of spilt file.h
CC fs/proc/task_nommu.o fs/proc/task_nommu.c: In function ‘task_mem’: fs/proc/task_nommu.c:55: error: dereferencing pointer to incomplete type make[2]: *** [fs/proc/task_nommu.o] Error 1 make[1]: *** [fs/proc] Error 2 make: *** [fs] Error 2 Signed-off-by: Bryan Wu <cooloney@kernel.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent d0dcd41 commit eb28062

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎fs/proc/task_nommu.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11

22
#include <linux/mm.h>
33
#include <linux/file.h>
4+
#include <linux/fdtable.h>
45
#include <linux/mount.h>
56
#include <linux/ptrace.h>
67
#include <linux/seq_file.h>

0 commit comments

Comments
 (0)