diff options
author | Eric Paris <eparis@redhat.com> | 2010-07-28 10:18:37 -0400 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2010-07-28 10:18:51 -0400 |
commit | 3bcf3860a4ff9bbc522820b4b765e65e4deceb3e (patch) | |
tree | 1e235af133559062c6fdee840ff9698f1dee26a6 /fs/file_table.c | |
parent | f70ab54cc6c3907b0727ba332b3976f80f3846d0 (diff) | |
download | lwn-3bcf3860a4ff9bbc522820b4b765e65e4deceb3e.tar.gz lwn-3bcf3860a4ff9bbc522820b4b765e65e4deceb3e.zip |
fsnotify: store struct file not struct path
Al explains that calling dentry_open() with a mnt/dentry pair is only
garunteed to be safe if they are already used in an open struct file. To
make sure this is the case don't store and use a struct path in fsnotify,
always use a struct file.
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions