summaryrefslogtreecommitdiffstats
path: root/fs/hpfs/hpfs_fn.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-10-03 18:25:10 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2013-10-25 05:43:26 +0200
commit30687e0a47e89f56489ab73965ee88231e611986 (patch)
tree9dedafad3e3f2e54e725d9f1029a6eab159b90ae /fs/hpfs/hpfs_fn.h
parentmake freeing super_block rcu-delayed (diff)
downloadlinux-30687e0a47e89f56489ab73965ee88231e611986.tar.xz
linux-30687e0a47e89f56489ab73965ee88231e611986.zip
hpfs: make freeing sbi and codetables rcu-delayed
makes ->d_hash() and ->d_compare() safety in RCU mode independent from vfsmount_lock Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/hpfs/hpfs_fn.h')
-rw-r--r--fs/hpfs/hpfs_fn.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/hpfs/hpfs_fn.h b/fs/hpfs/hpfs_fn.h
index 1b398636e990..6797bf80f6e2 100644
--- a/fs/hpfs/hpfs_fn.h
+++ b/fs/hpfs/hpfs_fn.h
@@ -80,6 +80,7 @@ struct hpfs_sb_info {
unsigned sb_c_bitmap; /* current bitmap */
unsigned sb_max_fwd_alloc; /* max forwad allocation */
int sb_timeshift;
+ struct rcu_head rcu;
};
/* Four 512-byte buffers and the 2k block obtained by concatenating them */