diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-05-25 18:23:04 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-05-26 11:37:11 +0200 |
commit | 7c83f5cb551b2e5c4934933fda006636f7424123 (patch) | |
tree | 6b4393743ee63ffdbfb734d3f2daf059e8874508 /fs/hfsplus | |
parent | UBIFS: return proper error code if the compr is not present (diff) | |
download | linux-7c83f5cb551b2e5c4934933fda006636f7424123.tar.xz linux-7c83f5cb551b2e5c4934933fda006636f7424123.zip |
UBIFS: use anonymous device
UBIFS has erroneuosly set 'sb->s_dev' to the UBI volume
character device major/minor. This may lead to clashes
if there is another FS mounted to a block device with
the same major/minor numbers. User-space programs which
use 'stat->st_dev' may get confused because of this.
This problem was found by Al Viro. He also pointed the
way to fix the problem - use 'set_anon_super()' and
'kill_anon_super()' VFS helpers.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/hfsplus')
0 files changed, 0 insertions, 0 deletions