dir.c (2f221d6f7b881d95de1f356a3097d755ab1e47d4) | dir.c (0d56a4518d5eaf595a24ab2202e171330bb2ed72) |
---|---|
1/* 2 FUSE: Filesystem in Userspace 3 Copyright (C) 2001-2008 Miklos Szeredi <miklos@szeredi.hu> 4 5 This program can be distributed under the terms of the GNU GPL. 6 See the file COPYING. 7*/ 8 --- 1073 unchanged lines hidden (view full) --- 1082 sync = true; 1083 else 1084 sync = time_before64(fi->i_time, get_jiffies_64()); 1085 1086 if (sync) { 1087 forget_all_cached_acls(inode); 1088 err = fuse_do_getattr(inode, stat, file); 1089 } else if (stat) { | 1/* 2 FUSE: Filesystem in Userspace 3 Copyright (C) 2001-2008 Miklos Szeredi <miklos@szeredi.hu> 4 5 This program can be distributed under the terms of the GNU GPL. 6 See the file COPYING. 7*/ 8 --- 1073 unchanged lines hidden (view full) --- 1082 sync = true; 1083 else 1084 sync = time_before64(fi->i_time, get_jiffies_64()); 1085 1086 if (sync) { 1087 forget_all_cached_acls(inode); 1088 err = fuse_do_getattr(inode, stat, file); 1089 } else if (stat) { |
1090 generic_fillattr(inode, stat); | 1090 generic_fillattr(&init_user_ns, inode, stat); |
1091 stat->mode = fi->orig_i_mode; 1092 stat->ino = fi->orig_ino; 1093 } 1094 1095 return err; 1096} 1097 1098int fuse_update_attributes(struct inode *inode, struct file *file) --- 835 unchanged lines hidden --- | 1091 stat->mode = fi->orig_i_mode; 1092 stat->ino = fi->orig_ino; 1093 } 1094 1095 return err; 1096} 1097 1098int fuse_update_attributes(struct inode *inode, struct file *file) --- 835 unchanged lines hidden --- |