-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
smartfs: add support for FIOC_FILEPATH ioctl
The FIOC_FILEPATH ioctl call is required if smartfs is to be used together with inotify monitoring system. This implements the call support to smartfs file system. The path to the file has to be stored in smartfs_ofile_s structure during file open (and is freed during close) as smartfs currently is not able to obtain the path knowing only the file node. The full path is concatenated with the file name and creates the full path needed for inotify to detect whether the file is on the watchlist. Signed-off-by: Michal Lenc <[email protected]>
- Loading branch information
1 parent
9afcd34
commit 734dbb6
Showing
2 changed files
with
43 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters