From: Artem Bityutskiy Date: Mon, 25 May 2009 16:23:04 +0000 (+0300) Subject: UBIFS: use anonymous device X-Git-Tag: Release-2010-05/1~3^2~72 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5c62236e8eb16274570e1ba4da70a9549e456bf;p=pandora-kernel.git 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 --- Reading git-diff-tree failed