summaryrefslogtreecommitdiffstats
path: root/fs/hfs/dir_dbl.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-03-02 02:36:47 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-03-02 02:36:47 +0000
commit8624512aa908741ba2795200133eae0d7f4557ea (patch)
treed5d3036fccf2604f4c98dedc11e8adb929d6b52e /fs/hfs/dir_dbl.c
parent7b8f5d6f1d45d9f9de1d26e7d3c32aa5af11b488 (diff)
Merge with 2.3.48.
Diffstat (limited to 'fs/hfs/dir_dbl.c')
-rw-r--r--fs/hfs/dir_dbl.c21
1 files changed, 9 insertions, 12 deletions
diff --git a/fs/hfs/dir_dbl.c b/fs/hfs/dir_dbl.c
index f3469b402..3d613a8e3 100644
--- a/fs/hfs/dir_dbl.c
+++ b/fs/hfs/dir_dbl.c
@@ -56,23 +56,20 @@ const struct hfs_name hfs_dbl_reserved2[] = {
#define ROOTINFO (&hfs_dbl_reserved2[0])
#define PCNT_ROOTINFO (&hfs_dbl_reserved2[1])
-static struct file_operations hfs_dbl_dir_operations = {
- read: hfs_dir_read,
+struct file_operations hfs_dbl_dir_operations = {
+ read: generic_read_dir,
readdir: dbl_readdir,
fsync: file_fsync,
};
struct inode_operations hfs_dbl_dir_inode_operations = {
- &hfs_dbl_dir_operations,/* default directory file-ops */
- dbl_create, /* create */
- dbl_lookup, /* lookup */
- NULL, /* link */
- dbl_unlink, /* unlink */
- NULL, /* symlink */
- dbl_mkdir, /* mkdir */
- dbl_rmdir, /* rmdir */
- NULL, /* mknod */
- dbl_rename, /* rename */
+ create: dbl_create,
+ lookup: dbl_lookup,
+ unlink: dbl_unlink,
+ mkdir: dbl_mkdir,
+ rmdir: dbl_rmdir,
+ rename: dbl_rename,
+ setattr: hfs_notify_change,
};