|
Subject: [PATCH] fs: Restore files_lock and set_fs_root exports Newsgroups: gmane.linux.kernel Date: 2005-01-06 19:05:38 GMT (4 years, 25 weeks, 3 days, 23 hours and 36 minutes ago)
Hello, Andrew,
Some export-removal work causes breakage for an out-of-tree filesystem.
Could you please apply the attached patch to restore the exports for
files_lock and set_fs_root?
Thanx, Paul
----- End forwarded message -----
diff -urpN -X ../dontdiff linux-2.5/fs/file_table.c linux-2.5-MVFS/fs/file_table.c
--- linux-2.5/fs/file_table.c Wed Jan 5 13:54:21 2005
+++ linux-2.5-MVFS/fs/file_table.c Wed Jan 5 17:12:53 2005
@@ -26,6 +26,7 @@ EXPORT_SYMBOL(files_stat); /* Needed by
/* public. Not pretty! */
spinlock_t __cacheline_aligned_in_smp files_lock = SPIN_LOCK_UNLOCKED;
+EXPORT_SYMBOL(files_lock);
static spinlock_t filp_count_lock = SPIN_LOCK_UNLOCKED;
diff -urpN -X ../dontdiff linux-2.5/fs/namespace.c linux-2.5-MVFS/fs/namespace.c
--- linux-2.5/fs/namespace.c Wed Jan 5 13:54:22 2005
+++ linux-2.5-MVFS/fs/namespace.c Wed Jan 5 17:12:08 2005
@@ -1207,6 +1207,7 @@ void set_fs_root(struct fs_struct *fs, s
mntput(old_rootmnt);
}
}
+EXPORT_SYMBOL(set_fs_root);
/*
* Replace the fs->{pwdmnt,pwd} with {mnt,dentry}. Put the old values.
----- End forwarded message -----
|
|
|