diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-05-14 11:12:09 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-05-14 11:12:09 +0000 |
commit | a75eeec47f39797429d5cae90db057374aeeac5d (patch) | |
tree | 103d013eb38e421a6a94b36c445dfaff31183962 /nuttx/include/nuttx | |
parent | ce1b502f81ef5c420f4d6d9fd68c31a1627cac55 (diff) | |
download | px4-nuttx-a75eeec47f39797429d5cae90db057374aeeac5d.tar.gz px4-nuttx-a75eeec47f39797429d5cae90db057374aeeac5d.tar.bz2 px4-nuttx-a75eeec47f39797429d5cae90db057374aeeac5d.zip |
umount and fat fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@227 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/nuttx')
-rw-r--r-- | nuttx/include/nuttx/fs.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/nuttx/include/nuttx/fs.h b/nuttx/include/nuttx/fs.h index f813a44a2..06eefc8f7 100644 --- a/nuttx/include/nuttx/fs.h +++ b/nuttx/include/nuttx/fs.h @@ -117,11 +117,13 @@ struct inode; struct mountpt_operations { /* The mountpoint open method differs from the driver open method - * because it receives the relative path into the mountpoint. + * because it receives (1) the inode that contains the mountpoint + * private data, (2) the relative path into the mountpoint, and (3) + * information to manage privileges. */ - int (*open)(FAR struct file *filp, const char *rel_path, - int oflags, mode_t mode); + int (*open)(FAR struct file *filp, FAR struct inode *inode, + const char *rel_path, int oflags, mode_t mode); /* The following methods must be identical in signature and position because * the struct file_operations and struct mountp_operations are treated like |