dir.c (aea983801c6b5e4e9af333a32220d580a77f6783) | dir.c (0ce267ff95a0302cf6fb2a552833abbfb7861a43) |
---|---|
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 --- 272 unchanged lines hidden (view full) --- 281} 282 283const struct dentry_operations fuse_dentry_operations = { 284 .d_revalidate = fuse_dentry_revalidate, 285 .d_init = fuse_dentry_init, 286 .d_release = fuse_dentry_release, 287}; 288 | 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 --- 272 unchanged lines hidden (view full) --- 281} 282 283const struct dentry_operations fuse_dentry_operations = { 284 .d_revalidate = fuse_dentry_revalidate, 285 .d_init = fuse_dentry_init, 286 .d_release = fuse_dentry_release, 287}; 288 |
289const struct dentry_operations fuse_root_dentry_operations = { 290 .d_init = fuse_dentry_init, 291 .d_release = fuse_dentry_release, 292}; 293 |
|
289int fuse_valid_type(int m) 290{ 291 return S_ISREG(m) || S_ISDIR(m) || S_ISLNK(m) || S_ISCHR(m) || 292 S_ISBLK(m) || S_ISFIFO(m) || S_ISSOCK(m); 293} 294 295int fuse_lookup_name(struct super_block *sb, u64 nodeid, const struct qstr *name, 296 struct fuse_entry_out *outarg, struct inode **inode) --- 1555 unchanged lines hidden --- | 294int fuse_valid_type(int m) 295{ 296 return S_ISREG(m) || S_ISDIR(m) || S_ISLNK(m) || S_ISCHR(m) || 297 S_ISBLK(m) || S_ISFIFO(m) || S_ISSOCK(m); 298} 299 300int fuse_lookup_name(struct super_block *sb, u64 nodeid, const struct qstr *name, 301 struct fuse_entry_out *outarg, struct inode **inode) --- 1555 unchanged lines hidden --- |