summaryrefslogtreecommitdiff
path: root/include/linux/fsnotify.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2026-03-06 07:46:32 -1000
committerTejun Heo <tj@kernel.org>2026-03-06 07:46:32 -1000
commit32e940f2bd3b16551f23ea44be47f6f5d1746d64 (patch)
tree23037a80fd683ff1a52ca05e2d7432c0cbc8f98b /include/linux/fsnotify.h
parent477174ac35c510d0ed3043f5bd4fba25546a21ce (diff)
parent1dde502587657045b267f179d7a1ecc7b8a1a265 (diff)
downloadlwn-32e940f2bd3b16551f23ea44be47f6f5d1746d64.tar.gz
lwn-32e940f2bd3b16551f23ea44be47f6f5d1746d64.zip
Merge branch 'for-7.0-fixes' into for-7.1
To prepare for hierarchical scheduling patchset which will cause multiple conflicts otherwise. Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/fsnotify.h')
-rw-r--r--include/linux/fsnotify.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/linux/fsnotify.h b/include/linux/fsnotify.h
index 28a9cb13fbfa..079c18bcdbde 100644
--- a/include/linux/fsnotify.h
+++ b/include/linux/fsnotify.h
@@ -495,19 +495,6 @@ static inline void fsnotify_change(struct dentry *dentry, unsigned int ia_valid)
fsnotify_dentry(dentry, mask);
}
-static inline int fsnotify_sb_error(struct super_block *sb, struct inode *inode,
- int error)
-{
- struct fs_error_report report = {
- .error = error,
- .inode = inode,
- .sb = sb,
- };
-
- return fsnotify(FS_ERROR, &report, FSNOTIFY_EVENT_ERROR,
- NULL, NULL, NULL, 0);
-}
-
static inline void fsnotify_mnt_attach(struct mnt_namespace *ns, struct vfsmount *mnt)
{
fsnotify_mnt(FS_MNT_ATTACH, ns, mnt);