Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: native_client_sdk/src/libraries/nacl_io/fuse.h

Issue 565343002: [NaCl SDK] nacl_io: Plumb through {,f}utime{,s} (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | native_client_sdk/src/libraries/nacl_io/fusefs/fuse_fs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/libraries/nacl_io/fuse.h
diff --git a/native_client_sdk/src/libraries/nacl_io/fuse.h b/native_client_sdk/src/libraries/nacl_io/fuse.h
index 314291c7cc4ef5483f020b5718939307331e127e..5f7978622304d91056d5a625282b715501e71e30 100644
--- a/native_client_sdk/src/libraries/nacl_io/fuse.h
+++ b/native_client_sdk/src/libraries/nacl_io/fuse.h
@@ -198,6 +198,8 @@ struct fuse_operations {
size_t count,
off_t,
struct fuse_file_info*);
+ // Called by utime()/utimes()/futimes()/futimens() etc.
+ int (*utimens)(const char*, const struct timespec tv[2]);
// The following functions are not currently called by the nacl_io
// implementation of FUSE.
@@ -232,7 +234,6 @@ struct fuse_operations {
int (*setxattr)(const char*, const char*, const char*, size_t, int);
int (*statfs)(const char*, struct statvfs*);
int (*symlink)(const char*, const char*);
- int (*utimens)(const char*, const struct timespec tv[2]);
int (*write_buf)(const char*,
struct fuse_bufvec* buf,
off_t off,
« no previous file with comments | « no previous file | native_client_sdk/src/libraries/nacl_io/fusefs/fuse_fs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698