summaryrefslogtreecommitdiff
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorAlexander Viro <viro@math.psu.edu>2002-03-10 22:22:18 -0800
committerLinus Torvalds <torvalds@penguin.transmeta.com>2002-03-10 22:22:18 -0800
commitace5d474a6ad06d97017ff07e4a50a720b4b8f22 (patch)
tree0c559b3efa76f0d45903a55dc71a34c73cf9fd57 /include/linux/fs.h
parent2f96736ac6da030b46a7abfee374f363dad1cadf (diff)
[PATCH] fix for get_sb_bdev() bug
Grr... When loop in get_sb_bdev() had been switched from global list of superblock to per-type one, we should have switched from sb_entry(p) (aka. list_entry(p, struct super_block, s_list)) to list_entry(p, struct super_block, s_instances). As it is, we end up with false negatives all the time. I.e. second mount from the same block device with the same type gices a new superblock. With obvious nasty results... This fixes that.
Diffstat (limited to 'include/linux/fs.h')
0 files changed, 0 insertions, 0 deletions