From 7bc563239e4c276afebd11d2e6e67ddc0cc65f0d Mon Sep 17 00:00:00 2001 From: Josef Sipek Date: Fri, 8 Dec 2006 02:37:40 -0800 Subject: [PATCH] struct path: convert sound Signed-off-by: Josef Sipek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- sound/sound_firmware.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sound/sound_firmware.c') diff --git a/sound/sound_firmware.c b/sound/sound_firmware.c index 3a181d4c0dc6..3304344713ae 100644 --- a/sound/sound_firmware.c +++ b/sound/sound_firmware.c @@ -19,7 +19,7 @@ static int do_mod_firmware_load(const char *fn, char **fp) printk(KERN_INFO "Unable to load '%s'.\n", fn); return 0; } - l = filp->f_dentry->d_inode->i_size; + l = filp->f_path.dentry->d_inode->i_size; if (l <= 0 || l > 131072) { printk(KERN_INFO "Invalid firmware '%s'\n", fn); -- cgit v1.2.3