X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ffilesys%2Ffile.h;h=a33c5af49f7c9c29142b234290e7c1969b9f54cb;hb=3cd7e2f105756543b68f937f327131c7bbaaa88e;hp=dc05332f8b3b007d49b99214f20cfa819c3a0d20;hpb=31a083515ee53c90217a4242bf95285e3d36e010;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);