aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorJeremy Kerr <[email protected]>2009-06-29 14:31:58 +0800
committerEric Paris <[email protected]>2009-06-29 10:00:58 -0400
commite6ce3066010a21bde961d8f8cefe0b69cae78a0f (patch)
tree15daad02d6c41c7947cab0a8760dac1046c472ff /drivers/mtd/lpddr/lpddr_cmds.c
parent52989765629e7d182b4f146050ebba0abf2cb0b7 (diff)
fs: allow d_instantiate to be called with negative parent dentry
The new fsnotify infrastructure (starting at 90586523) causes an oops in spufs, where we populate a directory with files before instantiating the directory itself. The new changes seem to have introduced an assumption that a dentry's parent will be positive when instantiating. This change makes it once again possible to d_instantiate a dentry with a negative parent, and brings __fsnotify_d_instantiate() into line with inotify_d_instantiate(), which already has this NULL check. Signed-off-by: Jeremy Kerr <[email protected]> Signed-off-by: Eric Paris <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions