commit | eefa4d950cf4da9a835812fe44fb7973ec147cbf | [log] [tgz] |
---|---|---|
author | Eric Sandeen <sandeen@redhat.com> | Thu Jan 29 17:46:28 2009 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Mar 08 19:29:28 2009 -0400 |
tree | bb1835b6a05f2323820a76eea5324c2759c31cee | |
parent | 9af62fde650003b9f0b67b77b020cfc770f9aa4c [diff] |
debugfs: fix segfault on "stat" command with no open fs This is a regression from commit 8fdf29117f922419bd5b3f741e5d554b1d5b8893, which attempts to access current_fs via a feature check before we check that it's open. Just moving the feature check below the open check should fix it. Reported-by: Andrew Hecox <ahecox@redhat.com> Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>