diff options
author | 2011-07-27 22:27:33 -0400 | |
---|---|---|
committer | 2011-07-27 22:27:33 -0400 | |
commit | 9d108d25487bf958f8093409a4c0bee6169edba6 (patch) | |
tree | 14e9e96403ffcec690f77f9e6f99429a1a2e535c /fs/jbd2/commit.c | |
parent | hppfs: missing include (diff) | |
download | linux-rng-9d108d25487bf958f8093409a4c0bee6169edba6.tar.xz linux-rng-9d108d25487bf958f8093409a4c0bee6169edba6.zip |
devtmpfs: missing initialialization in never-hit case
create_path() on something without a single / in it will return err
without initializing it. It actually can't happen (we call that thing
only if create on the same path returns -ENOENT, which won't happen
happen for single-component path), but in this case initializing err
to 0 is more than making compiler to STFU - would be the right thing
to return on such paths; the function creates a parent directory of
given pathname and in that case it has no work to do...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions