X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Ffcntl.c;h=5f96786d1c73dc6c9ac27565b521835f6fe5ff12;hb=c2642ab05b855d2d3b850ddf90dbb02b1b9358ac;hp=9903bde475f2ec4877bd0f0f32e76b2939ebf81f;hpb=05814450070f13b671fc9dbf89477677aa0258cb;p=linux-2.6 diff --git a/fs/fcntl.c b/fs/fcntl.c index 9903bde475..5f96786d1c 100644 --- a/fs/fcntl.c +++ b/fs/fcntl.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include @@ -35,7 +36,7 @@ void fastcall set_close_on_exec(unsigned int fd, int flag) spin_unlock(&files->file_lock); } -static inline int get_close_on_exec(unsigned int fd) +static int get_close_on_exec(unsigned int fd) { struct files_struct *files = current->files; struct fdtable *fdt;