diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/fuse/dir.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/fs/fuse/dir.c b/fs/fuse/dir.c index e6ba579e2937..65357bd1d17b 100644 --- a/fs/fuse/dir.c +++ b/fs/fuse/dir.c | |||
@@ -1947,17 +1947,6 @@ static int fuse_removexattr(struct dentry *entry, const char *name) | |||
1947 | return err; | 1947 | return err; |
1948 | } | 1948 | } |
1949 | 1949 | ||
1950 | static int fuse_update_time(struct inode *inode, struct timespec *now, | ||
1951 | int flags) | ||
1952 | { | ||
1953 | if (flags & S_MTIME) { | ||
1954 | inode->i_mtime = *now; | ||
1955 | mark_inode_dirty_sync(inode); | ||
1956 | BUG_ON(!S_ISREG(inode->i_mode)); | ||
1957 | } | ||
1958 | return 0; | ||
1959 | } | ||
1960 | |||
1961 | static const struct inode_operations fuse_dir_inode_operations = { | 1950 | static const struct inode_operations fuse_dir_inode_operations = { |
1962 | .lookup = fuse_lookup, | 1951 | .lookup = fuse_lookup, |
1963 | .mkdir = fuse_mkdir, | 1952 | .mkdir = fuse_mkdir, |
@@ -1997,7 +1986,6 @@ static const struct inode_operations fuse_common_inode_operations = { | |||
1997 | .getxattr = fuse_getxattr, | 1986 | .getxattr = fuse_getxattr, |
1998 | .listxattr = fuse_listxattr, | 1987 | .listxattr = fuse_listxattr, |
1999 | .removexattr = fuse_removexattr, | 1988 | .removexattr = fuse_removexattr, |
2000 | .update_time = fuse_update_time, | ||
2001 | }; | 1989 | }; |
2002 | 1990 | ||
2003 | static const struct inode_operations fuse_symlink_inode_operations = { | 1991 | static const struct inode_operations fuse_symlink_inode_operations = { |