diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-08 20:38:27 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-09 01:17:17 (GMT) |
commit | 5b5f9560354dc5a3a27ce57a86aec6b98531ee21 (patch) | |
tree | 908448da30e77e931f62080e3d836cf0f070d389 /Documentation/rtc.txt | |
parent | 48fa57ac2c30a8a0b770b7ad50b4b30c1d12f005 (diff) | |
download | linux-fsl-qoriq-5b5f9560354dc5a3a27ce57a86aec6b98531ee21.tar.xz |
functionfs: unfuck failure exits on mount
* if you do dput() of root dentry, do *not* follow that with iput() of root
inode.
* while we are at it, don't do that dput() at all - you are leaving the pointer
in ->s_root and your ->kill_sb() will be very unhappy with that. It will do
proper dput(), though, so the easiest way is to leave that to it entirely.
* freeing ->s_fs_info is also best left to ->kill_sb() (which will do it
anyway), especially since we leave the pointer in place.
* that xchg() in ->kill_sb() is not a bug per se, but it's a plain and simple
masturbation with fewer excuses than Onan had...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'Documentation/rtc.txt')
0 files changed, 0 insertions, 0 deletions