mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 10:00:51 +07:00
fs/notify/inode_mark.c: make fsnotify_find_inode_mark_locked() static
Fixes following sparse warning: fs/notify/inode_mark.c:127:22: warning: symbol 'fsnotify_find_inode_mark_locked' was not declared. Should it be static? Signed-off-by: Tushar Behera <tushar.behera@linaro.org> Cc: Eric Paris <eparis@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
965c8e59cf
commit
ac5f121b8f
@ -116,7 +116,8 @@ void fsnotify_clear_inode_marks_by_group(struct fsnotify_group *group)
|
|||||||
* given a group and inode, find the mark associated with that combination.
|
* given a group and inode, find the mark associated with that combination.
|
||||||
* if found take a reference to that mark and return it, else return NULL
|
* if found take a reference to that mark and return it, else return NULL
|
||||||
*/
|
*/
|
||||||
struct fsnotify_mark *fsnotify_find_inode_mark_locked(struct fsnotify_group *group,
|
static struct fsnotify_mark *fsnotify_find_inode_mark_locked(
|
||||||
|
struct fsnotify_group *group,
|
||||||
struct inode *inode)
|
struct inode *inode)
|
||||||
{
|
{
|
||||||
struct fsnotify_mark *mark;
|
struct fsnotify_mark *mark;
|
||||||
|
Loading…
Reference in New Issue
Block a user