You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
new helper: file_inode(file)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
+1
-1
@@ -38,7 +38,7 @@ SYSCALL_DEFINE(fadvise64_64)(int fd, loff_t offset, loff_t len, int advice)
|
||||
if (!f.file)
|
||||
return -EBADF;
|
||||
|
||||
if (S_ISFIFO(f.file->f_path.dentry->d_inode->i_mode)) {
|
||||
if (S_ISFIFO(file_inode(f.file)->i_mode)) {
|
||||
ret = -ESPIPE;
|
||||
goto out;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user