summaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-03-14 17:22:02 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-03-14 17:22:02 -0600
commit3a81a51177d8aa06ffb2065d997220c076c916de (patch)
tree2e6c7c3a33800517677fb9fa986bd8773579d4cc /nuttx/include
parente3fa0599d86506b6b79723ddffeca038440e40a6 (diff)
downloadpx4-nuttx-3a81a51177d8aa06ffb2065d997220c076c916de.tar.gz
px4-nuttx-3a81a51177d8aa06ffb2065d997220c076c916de.tar.bz2
px4-nuttx-3a81a51177d8aa06ffb2065d997220c076c916de.zip
Pass the umount2() flags to every unbind() implementation. That is where the the decision to umount or not will be made.
Diffstat (limited to 'nuttx/include')
-rw-r--r--nuttx/include/nuttx/fs/fs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/include/nuttx/fs/fs.h b/nuttx/include/nuttx/fs/fs.h
index 0b6a7d928..dd71e6222 100644
--- a/nuttx/include/nuttx/fs/fs.h
+++ b/nuttx/include/nuttx/fs/fs.h
@@ -1,7 +1,7 @@
/****************************************************************************
* include/nuttx/fs/fs.h
*
- * Copyright (C) 2007-2009, 2011-2013 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007-2009, 2011-2013, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -196,7 +196,8 @@ struct mountpt_operations
int (*bind)(FAR struct inode *blkdriver, FAR const void *data,
FAR void **handle);
- int (*unbind)(FAR void *handle, FAR struct inode **blkdriver);
+ int (*unbind)(FAR void *handle, FAR struct inode **blkdriver,
+ unsigned int flags);
int (*statfs)(FAR struct inode *mountpt, FAR struct statfs *buf);
/* Operations on paths */