Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bf71113b authored by Daniel Rosenberg's avatar Daniel Rosenberg
Browse files

Revert "ANDROID: sdcardfs: notify lower file of opens"



This reverts commit f18c44dc.

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: default avatarDaniel Rosenberg <drosen@google.com>
parent 3e3abc76
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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>
@@ -260,7 +259,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);
	}