aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorDaniel Rosenberg <drosen@google.com>2018-01-23 17:51:26 -0800
committerMoyster <oysterized@gmail.com>2019-07-20 12:20:44 +0200
commite74c84a1d195f48a465845712f061cd1ff60a1df (patch)
treefce280e9d9cc6982297b88ec38e906980b72f7eb /fs
parent633b625cd84e4f0a75b9e2087c6b0551870c320b (diff)
Revert "ANDROID: sdcardfs: notify lower file of opens"
This reverts commit fd825dd8ffd9c4873f80438c3030dd21c204512d. Instead of calling notify within sdcardfs, which reverse the order of notifications during an open with truncate, we'll make fs_notify worry about it. Change-Id: Ic634401c0f223500066300a4df8b1453a0b35b60 Bug: 70706497 Signed-off-by: Daniel Rosenberg <drosen@google.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/sdcardfs/file.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/sdcardfs/file.c b/fs/sdcardfs/file.c
index 0aa8561d0..c62a98744 100644
--- a/fs/sdcardfs/file.c
+++ b/fs/sdcardfs/file.c
@@ -18,7 +18,6 @@
* General Public License.
*/
-#include <linux/fsnotify.h>
#include "sdcardfs.h"
#ifdef CONFIG_SDCARD_FS_FADV_NOACTIVE
#include <linux/backing-dev.h>
@@ -272,7 +271,6 @@ static int sdcardfs_open(struct inode *inode, struct file *file)
fput(lower_file); /* fput calls dput for lower_dentry */
}
} else {
- fsnotify_open(lower_file);
sdcardfs_set_lower_file(file, lower_file);
}