X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ffilesys%2Ffile.h;h=a33c5af49f7c9c29142b234290e7c1969b9f54cb;hb=325233dbbac73a07ac9d07c41c3a00e501920793;hp=dc05332f8b3b007d49b99214f20cfa819c3a0d20;hpb=4ebf33908a571a7cde93fe618902b044e3633cdf;p=pintos-anon diff --git a/src/filesys/file.h b/src/filesys/file.h index dc05332..a33c5af 100644 --- a/src/filesys/file.h +++ b/src/filesys/file.h @@ -9,6 +9,7 @@ struct inode; struct file *file_open (struct inode *); struct file *file_reopen (struct file *); void file_close (struct file *); +struct inode *file_get_inode (struct file *); /* Reading and writing. */ off_t file_read (struct file *, void *, off_t);