VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Al Viro <viro@zeniv.linux.org.uk> 2010-01-24 00:04:07 -0500 committer: Al Viro <viro@zeniv.linux.org.uk> 2010-01-26 22:22:24 -0500 commit: 29333920a5a46edcc9b728e2cf0134d5a9b516ee parent: afc70ed05a07bfe171f7a5b8fdc80bdb073d314f
Commit Summary:
Fix remount races with symlink handling in affs
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/affs/affs.h b/fs/affs/affs.h
index e511dc621a2e..0e40caaba456 100644
--- a/fs/affs/affs.h
+++ b/fs/affs/affs.h
@@ -106,8 +106,8 @@ struct affs_sb_info {
 	u32 s_last_bmap;
 	struct buffer_head *s_bmap_bh;
 	char *s_prefix;			/* Prefix for volumes and assigns. */
-	int s_prefix_len;		/* Length of prefix. */
 	char s_volume[32];		/* Volume prefix for absolute symlinks. */
+	spinlock_t symlink_lock;	/* protects the previous two */
 };
 
 #define SF_INTL		0x0001		/* International filesystem. */