Skip to content

Commit 249013e

Browse files
Darrick J. Wongbrauner
authored andcommitted
fsnotify: drop unused helper
Remove this helper now that all users have been converted to fserror_report_metadata as of 7.0-rc1. Cc: jack@suse.cz Cc: amir73il@gmail.com Signed-off-by: Darrick J. Wong <djwong@kernel.org> Link: https://patch.msgid.link/177148129543.716249.980530449513340111.stgit@frogsfrogsfrogs Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Christian Brauner <brauner@kernel.org>
1 parent 6c4b224 commit 249013e

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

include/linux/fsnotify.h

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -495,19 +495,6 @@ static inline void fsnotify_change(struct dentry *dentry, unsigned int ia_valid)
495495
fsnotify_dentry(dentry, mask);
496496
}
497497

498-
static inline int fsnotify_sb_error(struct super_block *sb, struct inode *inode,
499-
int error)
500-
{
501-
struct fs_error_report report = {
502-
.error = error,
503-
.inode = inode,
504-
.sb = sb,
505-
};
506-
507-
return fsnotify(FS_ERROR, &report, FSNOTIFY_EVENT_ERROR,
508-
NULL, NULL, NULL, 0);
509-
}
510-
511498
static inline void fsnotify_mnt_attach(struct mnt_namespace *ns, struct vfsmount *mnt)
512499
{
513500
fsnotify_mnt(FS_MNT_ATTACH, ns, mnt);

0 commit comments

Comments
 (0)