diff options
| author | Christian Brauner <brauner@kernel.org> | 2026-02-19 09:12:13 +0100 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-02-19 09:12:13 +0100 |
| commit | 768f4dc4cc318a547303f3ec984e5b366566950b (patch) | |
| tree | 5b7dbed01f79a55a6291542c9ff3cfaf84e54950 /include/linux | |
| parent | 6c4b2243cb6c0755159bd567130d5e12e7b10d9f (diff) | |
| parent | 294f54f849d846f4643a67db9b41b63867dc8bfe (diff) | |
Merge patch series "fserror: bug fixes"
This contains two fixes for the new fserror infrastructure.
* patches from https://patch.msgid.link/177148129514.716249.10889194125495783768.stgit@frogsfrogsfrogs:
fserror: fix lockdep complaint when igrabbing inode
fsnotify: drop unused helper
Link: https://patch.msgid.link/177148129514.716249.10889194125495783768.stgit@frogsfrogsfrogs
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/fsnotify.h | 13 |
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); |
