]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[GFS2] re-support special inode
authorDenis Cheng <crquan@gmail.com>
Tue, 26 Feb 2008 07:25:04 +0000 (15:25 +0800)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 31 Mar 2008 09:41:22 +0000 (10:41 +0100)
commit43a33c53cc9131a537522ab9736c6e4c03ddf57a
tree0b06320ba8b253bf6c3e464db093093be97fa85e
parentd83225d45d2b76175279abb2a3d7ee325a09aba8
[GFS2] re-support special inode

a previous commit removed call to
init_special_inode from inode lookuping, this cause problems as:

 # mknod /mnt/gfs2/dev/null c 1 3
 # cat /mnt/gfs2/dev/null
 cat: /mnt/gfs2/dev/null: Invalid argument

without special inode, GFS2 cannot support char device file,
block device file, fifo pipe, and socket file, lose many important
features as a common file system.

this one line patch re add special inode support.

Signed-off-by: Denis Cheng <crquan@gmail.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/inode.c