- reiserfs-use-generic_file_open-for-open-checks.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     reiserfs: use generic_file_open for open() checks

has been removed from the -mm tree.  Its filename is

     reiserfs-use-generic_file_open-for-open-checks.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: reiserfs: use generic_file_open for open() checks
From: Jeff Mahoney <jeffm@xxxxxxxx>

The other common disk-based file systems (I checked ext[23], xfs, jfs)
check to ensure that opens of files > 2 GB fail unless O_LARGEFILE is
specified.  They check via generic_file_open or their own open routine.

ReiserFS doesn't have an f_op->open defined, and as such, it's possible to
open files > 2 GB without O_LARGEFILE.

This patch adds the f_op->open member to conform with the expected
behavior.

Signed-off-by: Jeff Mahoney <jeffm@xxxxxxxx>
Cc: <reiserfs-dev@xxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 fs/reiserfs/file.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN fs/reiserfs/file.c~reiserfs-use-generic_file_open-for-open-checks fs/reiserfs/file.c
--- a/fs/reiserfs/file.c~reiserfs-use-generic_file_open-for-open-checks
+++ a/fs/reiserfs/file.c
@@ -1573,6 +1573,7 @@ const struct file_operations reiserfs_fi
 	.compat_ioctl = reiserfs_compat_ioctl,
 #endif
 	.mmap = generic_file_mmap,
+	.open = generic_file_open,
 	.release = reiserfs_file_release,
 	.fsync = reiserfs_sync_file,
 	.sendfile = generic_file_sendfile,
_

Patches currently in -mm which might be from jeffm@xxxxxxxx are

origin.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux