summaryrefslogtreecommitdiffstats
path: root/fs/fuse/fuse_i.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-09-15 00:02:28 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-09-15 00:02:28 +0100
commit1db3706b05b11abcf2673ffbed5ad43b4c90ed11 (patch)
tree09fa867d9d9db6ed475eaa889da143603441e1a6 /fs/fuse/fuse_i.h
parentad30a2bbdc20cf0111156e2aa6d2cc3e3c0d1893 (diff)
parent63d15148b6058ab0037343390e8918503ed81968 (diff)
downloadtalos-obmc-linux-1db3706b05b11abcf2673ffbed5ad43b4c90ed11.tar.gz
talos-obmc-linux-1db3706b05b11abcf2673ffbed5ad43b4c90ed11.zip
Merge branch 'zImage_DTB_append' of git://git.linaro.org/people/nico/linux into devel-stable
Diffstat (limited to 'fs/fuse/fuse_i.h')
-rw-r--r--fs/fuse/fuse_i.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h
index c6aa2d4b8517..cf6db0a93219 100644
--- a/fs/fuse/fuse_i.h
+++ b/fs/fuse/fuse_i.h
@@ -135,6 +135,9 @@ struct fuse_file {
/** Wait queue head for poll */
wait_queue_head_t poll_wait;
+
+ /** Has flock been performed on this file? */
+ bool flock:1;
};
/** One input argument of a request */
@@ -448,7 +451,7 @@ struct fuse_conn {
/** Is removexattr not implemented by fs? */
unsigned no_removexattr:1;
- /** Are file locking primitives not implemented by fs? */
+ /** Are posix file locking primitives not implemented by fs? */
unsigned no_lock:1;
/** Is access not implemented by fs? */
@@ -472,6 +475,9 @@ struct fuse_conn {
/** Don't apply umask to creation modes */
unsigned dont_mask:1;
+ /** Are BSD file locking primitives not implemented by fs? */
+ unsigned no_flock:1;
+
/** The number of requests waiting for completion */
atomic_t num_waiting;
OpenPOWER on IntegriCloud