From a08f86b249915c81892796f510ddb1870e426bfa Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Wed, 6 Jun 2012 18:56:56 +0300 Subject: [PATCH] --- yaml --- r: 312867 b: refs/heads/master c: a215fef7edfdcd8948037ceb3060b9ae7ebcef8b h: refs/heads/master i: 312865: 2f27d4b87171bb8d2806be2f9079c77eb7ef899b 312863: 922541b55cbde26a67f2f31dfcc532779adb0d18 v: v3 --- [refs] | 2 +- trunk/fs/affs/affs.h | 1 + trunk/fs/affs/super.c | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 6e0a9aa2c403..590231b7d506 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a837107439ea50116e59943556d6902c09e52772 +refs/heads/master: a215fef7edfdcd8948037ceb3060b9ae7ebcef8b diff --git a/trunk/fs/affs/affs.h b/trunk/fs/affs/affs.h index 1fceb320d2f2..5a726e992245 100644 --- a/trunk/fs/affs/affs.h +++ b/trunk/fs/affs/affs.h @@ -100,6 +100,7 @@ struct affs_sb_info { char *s_prefix; /* Prefix for volumes and assigns. */ char s_volume[32]; /* Volume prefix for absolute symlinks. */ spinlock_t symlink_lock; /* protects the previous two */ + struct super_block *sb; /* the VFS superblock object */ }; #define SF_INTL 0x0001 /* International filesystem. */ diff --git a/trunk/fs/affs/super.c b/trunk/fs/affs/super.c index da7498da80a6..0496cbbeda1b 100644 --- a/trunk/fs/affs/super.c +++ b/trunk/fs/affs/super.c @@ -299,6 +299,7 @@ static int affs_fill_super(struct super_block *sb, void *data, int silent) return -ENOMEM; sb->s_fs_info = sbi; + sbi->sb = sb; mutex_init(&sbi->s_bmlock); spin_lock_init(&sbi->symlink_lock);